码迷,mamicode.com
首页 > 其他好文 > 详细

no active checks on server [172.30.131.9:10051]

时间:2020-07-20 11:02:42      阅读:111      评论:0      收藏:0      [点我收藏+]

标签:gre   log   ESS   版本   listener   lis   安装   remove   support   

zabbix_agentd.log报错,排除了zabbix_agentd.conf配置无问题,网络神马都是正常,,,此时陷入了无解之中,,,
[root@glpi ~]# tail -f /var/log/zabbix/zabbix_agentd.log
32241:20200719:183516.887 TLS support: YES
32241:20200719:183516.887 **
32241:20200719:183516.887 using configuration file: /etc/zabbix/zabbix_agentd.conf
32241:20200719:183516.887 agent #0 started [main process]
32243:20200719:183516.888 agent #1 started [collector]
32244:20200719:183516.888 agent #2 started [listener #1]
32245:20200719:183516.889 agent #3 started [listener #2]
32246:20200719:183516.889 agent #4 started [listener #3]
32247:20200719:183516.889 agent #5 started [active checks #1]
32247:20200719:183516.896 no active checks on server [172.30.131.9:10051]: host [glpi] not found

终极解决办法,卸载zabbix-agent

查看安装的客户端版本
`rpm -qa | grep -i zabbix // 查看命令

卸载zabbix安装包
yum remove zabbix-agent.x86_64

重新安装
yum install zabbix-agent-3.4.4-2.el7.x86_64.rpm

配置
grep "^[a-Z]" /etc/zabbix/zabbix_agentd.conf
PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
Server=172.30.131.9
ServerActive=172.30.131.9
Hostname=glpi
Include=/etc/zabbix/zabbix_agentd.d/*.conf
无报错,能正常通讯

tail -f /var/log/zabbix/zabbix_agentd.log
1978:20200719:191105.248 IPv6 support: YES
1978:20200719:191105.248 TLS support: YES
1978:20200719:191105.248 **
1978:20200719:191105.248 using configuration file: /etc/zabbix/zabbix_agentd.conf
1978:20200719:191105.248 agent #0 started [main process]
1980:20200719:191105.249 agent #1 started [collector]
1982:20200719:191105.249 agent #3 started [listener #2]
1983:20200719:191105.250 agent #4 started [listener #3]
1984:20200719:191105.250 agent #5 started [active checks #1]
1981:20200719:191105.258 agent #2 started [listener #1]

no active checks on server [172.30.131.9:10051]

标签:gre   log   ESS   版本   listener   lis   安装   remove   support   

原文地址:https://blog.51cto.com/jameszhan/2511753

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!