zabbix错误提示解决
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix错误提示解决相关的知识,希望对你有一定的参考价值。
Received empty response from Zabbix Agent at [127.0.0.1]. Assuming that agent dropped connection because of access permissions.意思是说没有权限访问agent端口10050,解决方法如下:
将server的agent链接IP 127.0.0.1修改为本机IP
重启服务
# systemctl restart zabbix-server
======================================
Zabbix discoverer processes more than 75% busy
增加Zabbix Server启动时初始化的进程数量,这样直接增加了轮询的负载量,从比例上来讲忙的情况就少了
[[email protected] ~]# vim /etc/zabbix/zabbix_server.conf
修改为
StartDiscoverers=5
重启
[[email protected] ~]# systemctl restart zabbix-server
======================================
zabbix-agent无法启动错误
# tail -20 /var/log/zabbix/zabbix_agentd.log
.........................
zabbix_agentd [1232]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [3847]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [2] No such file or directory
zabbix_agentd [1724]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [13] Permission denied
解决
[[email protected] ~]# mkdir -p /var/run/zabbix/
[[email protected] ~]# chown zabbix.zabbix /var/run/zabbix/
[[email protected] ~]# systemctl restart zabbix-agent.service
以上是关于zabbix错误提示解决的主要内容,如果未能解决你的问题,请参考以下文章
重启Zabbix服务提示缺少libmysqlclient.so.18解决方法
zabbix连接Mysql提示Can’t connect to local MySQL server through socket的解决方法