ECE 2.3
RHEL 7.6 (Maipo)
Redis server v=5.0.3
I'm having trouble with an application of ours connecting to Heartbeat. From what I've researched Redis should be listening on ports 6379, 6380, 16379 and 16380, which Redis seems to be doing after running lsof -i -P -n | grep LISTEN. However when Heartbeat is setup to check our Redis servers its reporting an i/o timeout. Seems like I'm missing something here since the other portions of our Heartbeat yaml seem to be working just fine.
2019-08-29T09:27:54.527-0400 DEBUG [scheduler] scheduler/scheduler.go:248 Job 'auto-http-' returned at 2019-08-29 09:27:54.5277476 -0400 EDT m=+76232.691697201 (cont=0).
2019-08-29T09:27:54.527-0400 **DEBUG [tcp] tcp/task.go:43 dial failed with: dial tcp xx.xx.xx.136:6379: i/o timeout**
2019-08-29T09:27:54.527-0400 DEBUG [scheduler] scheduler/scheduler.go:206 Next wakeup time: 2019-08-29 09:28:08.5111252 -0400 EDT
2019-08-29T09:27:54.527-0400 DEBUG [processors] processing/processors.go:183 Publish event: {
"@timestamp": "2019-08-29T13:27:38.524Z",
"@metadata": {
"beat": "",
"type": "_doc",
"version": ""
},
"tags": [
"DEV"
],
"agent": {
"version": "7.0.0",
"type": "heartbeat",
"ephemeral_id": "<id>",
"hostname": "<server_name>",
"id": "<id>"
},
"monitor": {
"ip": "xx.xx.xx.137",
"status": "down",
"duration": {
"us": 16001900
},
"id": "<id>",
"name": "<name>",
"type": "tcp",
"check_group": "<group>"
},
"summary": {
"down": 1,
"up": 0
},
"source": "Heartbeat",
"host": {
"id": "<id>",
"hostname": "<server_name>",
"architecture": "x86_64",
"os": {
"build": "14393.3085",
"platform": "windows",
"version": "10.0",
"family": "windows",
"name": "Windows Server 2016 Standard",
"kernel": "10.0.14393.3085 (rs1_release.190703-1816)"
},
"name": "<server_name>"
},
"error": {
"type": "io",
**"message": "dial tcp xx.xx.xx.137:6379: i/o timeout"**
},
"event": {
"dataset": "uptime"
},
"env": "DEV",
"application": "<name>",
"layer": "APP2",
"url": {
"domain": "xx.xx.xx.137",
"port": 6379,
"full": "tcp://xx.xx.xx.137:6379",
"scheme": "tcp"
},
"project": "<name>",
"ecs": {
"version": "1.0.0"
}
}
Hearbeat yaml portion:
- type: tcp
# List or urls to query
hosts: ["xx.xx.xx.136:6379","xx.xx.xx.137:6379","xx.xx.xx.149:6379"]
name: <name>
tags: ["DEV"]
fields:
env: DEV
project: <name>
application: <name>
layer: APP2
source: Heartbeat
fields_under_root: True
# Configure task schedule
schedule: '@every 15s'