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"
Below are my configs.
Also in zabbix.conf.php,
Netstat shows ports are opened
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.
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
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
Code:
$ZBX_SERVER = 'localhost'; $ZBX_SERVER_PORT = '10051'; $ZBX_SERVER_NAME = 'zabbix'; ?>
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
Any pointers are greatly helpful.
Thanks.
Comment