The most common error reporting when zabbix adds a host

Posted by neo777ph on Thu, 05 Dec 2019 03:25:03 +0100

**Today, when playing zabbix monitoring, after the agent is installed on the monitored end, an error will be prompted on the interface when adding the host
Zabbix agent on jiabao is unreachable for 5 minutes
Check the log and find out

[root@localhost tmp]# tail -f zabbix_server.log 
 26115:20190307:235549.064 cannot send list of active checks to "192.168.1.150": host [localhost] not found
 26120:20190307:235715.010 executing housekeeper
 26120:20190307:235715.015 housekeeper [deleted 0 hist/trends, 0 items, 0 events, 0 problems, 0 sessions, 0 alarms, 0 audit items in 0.003076 sec, idle for 1 hour(s)]
 26115:20190307:235749.195 cannot send list of active checks to "192.168.1.150": host [localhost] not found
 26115:20190307:235949.324 cannot send list of active checks to "192.168.1.150": host [localhost] not found
 26115:20190308:000149.455 cannot send list of active checks to "192.168.1.150": host [localhost] not found
 26115:20190308:000349.587 cannot send list of active checks to "192.168.1.150": host [localhost] not found
 26115:20190308:000549.719 cannot send list of active checks to "192.168.1.150": host [localhost] not found
 26115:20190308:000749.846 cannot send list of active checks to "192.168.1.150": host [localhost] not found
 26115:20190308:000941.617 cannot send list of active checks to "192.168.1.150": host [localhost] not found
 26117:20190308:001141.741 cannot send list of active checks to "192.168.1.150": host [localhost] not found
 26117:20190308:001341.873 cannot send list of active checks to "192.168.1.150": host [localhost] not found
 26117:20190308:001542.001 cannot send list of active checks to "192.168.1.150": host [localhost] not found
So I look at the configuration file of the agent and find the hostname field

and
web interface
It is inconsistent, so the host name cannot be recognized, resulting in the failure to connect. It is necessary to ensure that the two must be consistent
View the log on the server side after the change


Success * *

Topics: Linux Zabbix