Ad Widget

Collapse

No active checks on server: host [zabbix] not found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbixfk
    Senior Member
    • Jun 2013
    • 256

    #1

    No active checks on server: host [zabbix] not found

    Hi All,

    I am trying to setup zabbix server and agent on same server. But getting error in logs saying "host not found" on logs, and on GUI it says, "Zabbix Server is not running, Information Displayed may not be correct"
    Code:
     20081:20130604:113906.364 cannot send list of active checks to [192.168.1.123]: host [zabbix] not found
     20071:20130604:113907.318 Zabbix agent item [agent.ping] on host [zabbix] failed: first network error, wait for 15 seconds
     20076:20130604:114007.420 temporarily disabling Zabbix agent checks on host [netmon]: host unavailable
     20118:20130604:113906.364 No active checks on server: host [zabbix] not found
    Below are my configs.
    Code:
    LogFile=/var/log/zabbix/zabbix_server.log
    PidFile=/var/run/zabbix/zabbix_server.pid
    DBHost=localhost
    ListenIP=192.168.1.123
    
    /usr/local/etc/zabbix_agentd.conf:98:Server=192.168.1.123
    /usr/local/etc/zabbix_agentd.conf:140:ServerActive=192.168.1.123
    /usr/local/etc/zabbix_agentd.conf:151:Hostname=zabbix
    Also in zabbix.conf.php,
    Code:
    $ZBX_SERVER      = 'localhost';
    $ZBX_SERVER_PORT = '10051';
    $ZBX_SERVER_NAME = 'zabbix';
    ?>
    Netstat shows ports are opened
    Code:
    tcp        0      0 192.168.1.123:10051      0.0.0.0:*               LISTEN     
    tcp        0      0 192.168.1.123:10051      172.17.77.51:58906      TIME_WAIT
    And my ping to zabbix, gives correct ip address, i.e 192.168.1.123 ( dns resolves properly, and hostname gives me "zabbix", also in /etc/hostname).

    Any pointers are greatly helpful.

    Thanks.
  • RaymondH
    Junior Member
    Zabbix Certified Specialist
    • Dec 2010
    • 24

    #2
    Pretty sure Active checks use the hostname that is given in the config and the hostname that you put on Config > Hosts. If they don't match exactly it doesn't work.

    Check that your Config > Hosts actually say's "zabbix" and not something like "Zabbix" or "Zabbix Server" etc.

    Comment

    Working...