[root@shell ~]# rpm -qa zabbix-agent
zabbix-agent-3.0.3-1.el6.x86_64
启动zabbix_agentd报错,查看日志
1
|
tail -f /var/log/zabbix/zabbix_agentd .log
|
报错:
1
|
1261:20160627:185115.613 no active checks on server [192.168.10.41:10051]: host [Zabbix test ] not found
|
解决:
hostname名字不一致导致的,要一致
1
|
Hostname=Zabbix test
|
报错:
1
|
zabbix_agentd [1316]: cannot create PID file [ /var/run/zabbix/zabbix_agentd .pid]: [13] Permission denied
|
解决
1
2
|
mkdir -p /var/run/zabbix/
chown zabbix.zabbix /var/run/zabbix/
|
本文转自 295631788 51CTO博客,原文链接:http://blog.51cto.com/hequan/1794376,如需转载请自行联系原作者