Hi guys,
I'm trying to use agent to monitor server. Both agent and server are install in same machine. I keep getting below message from agent and server log
zabbix_agent.log
no active checks on server [127.0.0.1:10051]: host [zabsrv.xxx.com] not found
zabbix_server.log
cannot send list of active checks to [127.0.0.1]: host [zabsrv.xxx.com] not found
Have searched on forum and google and most of them advise is the hostname issue. I'm quite sure my hostname are correct. Below is the configuration.
/etc/zabbix/zabbix_agentd
ServerActive: 127.0.0.1
Hostname:zabsrv.xxx.com
[root@zabsrv zabbix]# hostname
zabsrv.xxx.com
[root@zabsrv zabbix]# netstat -ltn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN
tcp 0 0 :::10050 :::* LISTEN
tcp 0 0 :::10051 :::* LISTEN
Would appreciate if anyone can point out what caused it unable to work properly.
Thank you.
I'm trying to use agent to monitor server. Both agent and server are install in same machine. I keep getting below message from agent and server log
zabbix_agent.log
no active checks on server [127.0.0.1:10051]: host [zabsrv.xxx.com] not found
zabbix_server.log
cannot send list of active checks to [127.0.0.1]: host [zabsrv.xxx.com] not found
Have searched on forum and google and most of them advise is the hostname issue. I'm quite sure my hostname are correct. Below is the configuration.
/etc/zabbix/zabbix_agentd
ServerActive: 127.0.0.1
Hostname:zabsrv.xxx.com
[root@zabsrv zabbix]# hostname
zabsrv.xxx.com
[root@zabsrv zabbix]# netstat -ltn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN
tcp 0 0 :::10050 :::* LISTEN
tcp 0 0 :::10051 :::* LISTEN
Would appreciate if anyone can point out what caused it unable to work properly.
Thank you.