Ad Widget

Collapse

Active checks not working

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dreas
    Member
    • Aug 2007
    • 89

    #1

    Active checks not working

    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:
    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
    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.
  • xs-
    Senior Member
    Zabbix Certified Specialist
    • Dec 2007
    • 393

    #2
    Richlv and me have attempted to debug this via IRC.
    Very weird, he's doing everything by the book, and no result. His setup/configuration should work, but it doesn't. Maybe the devs know of some tricks to get extra output in order to debug this further.

    Comment

    • dreas
      Member
      • Aug 2007
      • 89

      #3
      The problem was that I expected "DNS Name" to have to match the hostname. It turns out "Name" has to match the hostname. That creates new issues for me but at least the active item works now

      Comment

      Working...