查看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