03: zabbix報錯:active check configuration update from....started to fail

一臺新機器添加zabbix_agentd後,配置文件都是對的,啓動後發現報錯:安全

root@xxxx:~# tail -f /var/log/zabbix/zabbix_agentd.log
14684:20190904:091617.523 Starting Zabbix Agent [SGH1VBOX09]. Zabbix 2.2.9 (revision 52686).
14684:20190904:091617.523 using configuration file: /etc/zabbix/zabbix_agentd.conf
14685:20190904:091617.524 agent #0 started [collector]
14686:20190904:091617.525 agent #1 started [listener #1]
14687:20190904:091617.525 agent #2 started [listener #2]
14688:20190904:091617.525 agent #3 started [listener #3]
14689:20190904:091617.526 agent #4 started [active checks #1]
14690:20190904:091617.526 agent #5 started [active checks #2]
14689:20190904:091620.526 active check configuration update from [1xx.xx.xx.xx:10051] started to fail (cannot connect to [[1xx.xx.xx.xx]:10051]: [4] Interrupted system call)server

首先ping zabbix server 的ip發現是能夠ping通的, 以後去zabbix server端也能ping通 agentd 端IP。ip

可是在server端用zabbix get 命令不能獲取到數據。get

------------------------------------------------------------------------------------io

其實log裏面已經很明確的告訴咱們,是不能鏈接到10051端口。 因此使用telnet 命令探測一下端口是否能通class

root@xxx:~# telnet 1xx.xx.xx.xx 10051
Trying 1xx.xx.xx.xx...
^C
root@xxx:~# telnet 1xx.xx.xx.xx 80
Trying 1xx.xx.xx.xx...
^C
發現端口根本不通,問題找到就好解決了,首先確認agentd端有沒有配置防火牆規則,其次再去看server有沒有配置規則。相應的找安所有門人員開通一下就好。配置

相關文章
相關標籤/搜索