zabbix客户端错误:no active checks on server [192.168.1.107:10051]: host [ ] not found
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix客户端错误:no active checks on server [192.168.1.107:10051]: host [ ] not found相关的知识,希望对你有一定的参考价值。
查看zabbix_agentd.log时出现下列错误
[[email protected] ~]#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
[[email protected] ~]# 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服务
[[email protected] ~]# 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的主要内容,如果未能解决你的问题,请参考以下文章
no active checks on server [172.30.131.9:10051]
zabbix-server报错:No route to host
NO.A.0005.zabbix_lnmp+zabbix.agent.编译安装/批量监控和100台设备/自动发现
NO.B.0007——zabbix-agent的被动主动模式对比item的调度方式