今天在客户端配置Zabbix_agentd后,通过自动注册到 Zabbix_Server 页面中,点击主机列表却发现ZBX显示红色,无法被监控到,查看报错为:
Get value from agent failed: cannot connect to [[192.168.0.139]:10050]: [113] No route to host
后来发现是被 iptables 当掉了,在 /etc/sysconfig/iptables 里面添加规则即可解决,如下图:
今天在客户端配置Zabbix_agentd后,通过自动注册到 Zabbix_Server 页面中,点击主机列表却发现ZBX显示红色,无法被监控到,查看报错为:
Get value from agent failed: cannot connect to [[192.168.0.139]:10050]: [113] No route to host
后来发现是被 iptables 当掉了,在 /etc/sysconfig/iptables 里面添加规则即可解决,如下图: