标签:zabbix
查看zabbix_agentd.log时出现下列错误
[root@www ~]#tail /var/log/zabbix/zabbix_agentd.log 10526:20170506:154012.832 no active checks on server [192.168.1.107:10051]: host [vm1] not found
解决方法:
1.查看zabbix_agentd.conf文件中的Hostname
[root@www ~]# cat /etc/zabbix/zabbix_agentd.conf | grep Hostname ### Option: Hostname # Value is acquired from HostnameItem if undefined. # Hostname= Hostname=192.168.1.102 ### Option: HostnameItem # Item used for generating Hostname if it is undefined. Ignored if Hostname is defined. # HostnameItem=system.hostname # Aliases can be used in HostMetadataItem but not in HostnameItem parameters.
2.在zabbix web页面Monitoring->Configuration->Hosts 页面更改Host name和zabbix_agentd.conf里面的Hostname一样。
3.重新启动zabbix-agent服务
[root@www ~]# service zabbix-agent restart Shutting down Zabbix agent: [ OK ] Starting Zabbix agent: [ OK ]
zabbix客户端错误:no active checks on server [192.168.1.107:10051]: host [ ] not found
标签:zabbix
原文地址:http://huanjingyouxian.blog.51cto.com/9849266/1922689