Ad Widget

Collapse

No active checks on server: cannot find host

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xaviercardoza
    Junior Member
    • Oct 2010
    • 29

    #1

    No active checks on server: cannot find host

    I am having a problem in that the agents are not able to connect to the server for active checks. I am not sure where the host name is set in the zabbix server for me to align the same value in the agent's conf file.

    The Zabbix server is running in Amazon's clould, and I am passively monitoring 3 servers with no issues but I can't do active monitoring using the agents because they can't see the Zabbix server for some reason (I can ping the server, access the web front end).

    I've reads some posts on this forum but its not clear where the actual source file for the server host name is kept - in the zabbix environment? I understand if it is not set in the Zabbix Environment then the system hostname is used but I've used the system hostname is the agent's conf file and no joy. So I believe once I know where the hostname is set within the Zabbix server envronment I should be ok.

    Is it
    1) /etc/zabbix/zabbix_server.conf
    2) /srv/www/htdocs/zabbix/conf/zabbix_server.php

    1668:20101104:160332.636 No active checks on server: host [suse] not found
    1668:20101104:160532.708 No active checks on server: host [suse] not found
  • walterheck
    Senior Member
    • Jul 2009
    • 153

    #2
    That log error message actually means that your agents _do_ connect to your server, it just means they use a 'Servername=' directive in their /etc/zabbix/zabbix_agentd.conf that does not match any of the names of the hosts you set up in your frontend under configuration-> hosts.

    Hope this helps.
    Free and Open Source Zabbix Templates Repository | Hosted Zabbix @ Tribily (http://tribily.com)

    Comment

    • richlv
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2005
      • 3112

      #3
      "Hostname" directive, btw
      but yeah, that one must match hostname (not dns, not ip !) as configured in the frontend. case sensitive.
      Zabbix 3.0 Network Monitoring book

      Comment

      • xaviercardoza
        Junior Member
        • Oct 2010
        • 29

        #4
        Thank-you

        Thanks every for your comments. I was going around in circles and thus was confusing myself.

        In the end with you comments, I used used the logical name for the Zabbix server which is the name of the host in the configuration document in this case 'Zabbix server' (before I was using the dns name or the hostname of the actual server stored in the hosts file on /etc/)

        How do I know from the logs when it is ok? I suppose I may have to put on full debug to see.

        I suppose the only test is to set up an active item.


        Many thanks
        Lazarus

        Comment

        • xaviercardoza
          Junior Member
          • Oct 2010
          • 29

          #5
          Active Agents resolved.

          The problem was my understanding of how to configure the zabbix_agentd.win.conf. I thought the hostname should only put to the zabbix server (this is true if the agent is running on it), In the case of my windows systems I then changed the hostname to reflect the name of each document I had created for each system.

          Worked fine after that.

          Many thanks everyone for your support.

          Comment

          Working...