[root@shell ~]# rpm -qa zabbix-agent
zabbix-agent-3.0.3-1.el6.x86_64
启动zabbix_agentd报错,查看日志
tail -f /var/log/zabbix/zabbix_agentd.log
报错:
1261:20160627:185115.613 no active checks on server [192.168.10.41:10051]: host [Zabbix test] not found
解决:
hostname名字不一致导致的,要一致
Hostname=Zabbix test
报错:
zabbix_agentd [1316]: cannot create PID file [/var/run/zabbix/zabbix_agentd.pid]: [13] Permission denied
解决
mkdir -p /var/run/zabbix/chown zabbix.zabbix /var/run/zabbix/