I have been using Zabbix for quite a while now. I wanted to switch to active instead of passive checks.
1. I changed a single item to ZABBIX agent (active)
2. I commented out the hostname= line on the monitored server
3. I verfied the hostname on the monitored server matches the hostname on the Zabbix server
4. I enabled active checks on the monitored server in zabbix_agentd.conf: DisableActive=0
5. I verified I can telnet to port 10051 from the monitored server to the Zabbix server
6. I checked the agent log:
7. The agent is sending the correct hostname.
Why is the server not sending the active checks? The server is not receiving any data from the agent for the active check. I also tried changing the hostname to something different and forcing it in /etc/hosts. I tried several different monitored servers. Any suggestions? The IRC chat people didn't understand why it's not working either.
1. I changed a single item to ZABBIX agent (active)
2. I commented out the hostname= line on the monitored server
3. I verfied the hostname on the monitored server matches the hostname on the Zabbix server
4. I enabled active checks on the monitored server in zabbix_agentd.conf: DisableActive=0
5. I verified I can telnet to port 10051 from the monitored server to the Zabbix server
6. I checked the agent log:
Code:
21259:20080630:140105 In refresh_metrics('zabbixserver.hostname.com',10051)
21259:20080630:140105 get_active_checks('zabbixserver.hostname.com',10051)
21259:20080630:140105 Sending [ZBX_GET_ACTIVE_CHECKS
zabbixagent.hostname.com
]
21259:20080630:140105 Before read
21259:20080630:140106 In parse_list_of_checks() [ZBX_EOF
]
21259:20080630:140106 In disable_all_metrics()
21259:20080630:140106 Parsed [ZBX_EOF]
21259:20080630:140106 In process_active_checks('zabbixserver.hostname.com',10051)
21259:20080630:140106 In get_min_nextcheck()
21259:20080630:140106 Sleeping for 60 seconds
Why is the server not sending the active checks? The server is not receiving any data from the agent for the active check. I also tried changing the hostname to something different and forcing it in /etc/hosts. I tried several different monitored servers. Any suggestions? The IRC chat people didn't understand why it's not working either.
Comment