my first problem is that the agent on one of my servers is unable to fetch the list of active checks:
If I use telnet to talk to the zabbix server it disconnects after I send it the [ZBX_GET_ACTIVE_CHECKS XX.XX.XX] command. I'm not sure if that's normal or not.
The second problem is that when I telnet from the server to the agent, the agent isn't returning expected values for ANYTHING. It's returning ZBXD[value] for everything (e.g. cpu usage returns ZBXD0.000 or ZBXD0.309 etc.) so the server doesn't post any stats returned from the agent. The agent on the server returns expected values when I telnet to it, unlike the other agent.
The server is on a Debian 9 box and the agent is on FreeBSD 6.3. Any ideas?
EDIT: versions didn't match. FBSD port was 1.4.5 while Debian stable package was 1.1.4. Debian testing contains 1.4.5
Code:
70992:20080606:135327 get_active_checks('XX.XX.XX.XX',10051)
70992:20080606:135327 Sending [ZBX_GET_ACTIVE_CHECKS
XX.XX.XX
]
70992:20080606:135327 Before read
70992:20080606:135328 Get active checks error: ZBX_TCP_READ() failed [Connection reset by peer]
70992:20080606:135328 Getting list of active checks failed. Will retry after 60 seconds
The second problem is that when I telnet from the server to the agent, the agent isn't returning expected values for ANYTHING. It's returning ZBXD[value] for everything (e.g. cpu usage returns ZBXD0.000 or ZBXD0.309 etc.) so the server doesn't post any stats returned from the agent. The agent on the server returns expected values when I telnet to it, unlike the other agent.
The server is on a Debian 9 box and the agent is on FreeBSD 6.3. Any ideas?
EDIT: versions didn't match. FBSD port was 1.4.5 while Debian stable package was 1.1.4. Debian testing contains 1.4.5