Zabbix error - cannot send list of active checks to "192.168.174.133": host [ubuntu133] not found

出现该错误的原因是一般是zabbix_agentd.conf里面的Hostname和前端zabbix web里面的配置不一样所造成的,即在zabbix web页面Monitoring->Configuration->Hosts 页面的Name和zabbix_agentd.conf里面的Hostname要一样。

我是用的自己的ubuntu虚拟机,之前没有配置hostname,还是默认的,现统一修改,如下:

修改/etc/hosts
wfq@ubuntu133:/etc/zabbix$ cat /etc/hosts
127.0.0.1       localhost
192.168.174.133 ubuntu133
修改hostname
wfq@ubuntu133:/etc/zabbix$ cat /etc/hostname
ubuntu133

reboot重启linux服务器,重启后hostname生效为ubuntu133
tips: hostname貌似不能用下划线

修改/etc/zabbix/zabbix_agentd.conf的以下3项

Server=192.168.174.133
ServerActive=192.168.174.133
Hostname=ubuntu133

你可能感兴趣的:(Zabbix error - cannot send list of active checks to "192.168.174.133": host [ubuntu133] not found)