首页 > 其他 > 详细

zabbix添加主机时最常见的报错

时间:2019-03-08 16:02:14      阅读:323      评论:0      收藏:0      [点我收藏+]
** 今天在玩zabbix监控的时候,在被监控端装好agent后,添加主机时界面上提示报错
Zabbix agent on jiabao is unreachable for 5 minutes
查看日志却发现

[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
于是我就查看agent端的配置文件发现hostname字段

技术分享图片
web界面上技术分享图片
不一致,因此出现了主机名识别不了导致无法连接,必须保证二者必须一致才可以
更改之后查看server端的日志
技术分享图片
技术分享图片
成功**

zabbix添加主机时最常见的报错

原文:https://blog.51cto.com/14101466/2360100

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!