錯誤描述
查日志發現:
failed to accept an incoming connection: connection from "192.168.186.132" rejected, allowed hosts: "127.0.0.1"
問題: 這個是 zabbix_agentd.conf 文件配置錯誤的提示
解決:
在zabbix的安裝目錄下 (我的是/usr/local/zabbix):
# vim /usr/local/zabbix/etc/zabbix_agentd.conf
修改 :
Server=你的服務器地址
ServerActive=你的服務器地址
Hostname=你的客戶端名稱
最后重啟agent
# service zabbix_agentd restart