解决办法
因为web端上被监控端的主机名和zabbix_agentd.conf中的Hostname名字不一样,改为一样的即可
注意发现问题一定要看日志:
tail -f /var/log/zabbix/zabbix_server.log
30444:20170523:183251.843 cannot send list of active checks to [10.163.5.22]: host [Zabbix server] not found
30443:20170523:183451.880 cannot send list of active checks to [10.163.5.22]: host [Zabbix server] not found
30453:20170523:183517.876 item "App10:average" became not supported: Received value [0.01] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
30455:20170523:183547.992 error reason for "test2:average" changed: Received value [0.31] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
30455:20170523:183547.992 item "Appsrv130:average" became supported
30455:20170523:183547.992 error reason for "Appsrv160:average" changed: Received value [0.06] is not suitable for value type [Numeric (unsigned)] and data type [Decimal]
30443:20170523:183651.912 cannot send list of active checks to [10.163.5.22]: host [Zabbix server] not found
30445:20170523:183851.949 cannot send list of active checks to [10.163.5.22]: host [Zabbix server] not found
30442:20170523:184052.423 cannot send list of active checks to [10.163.5.22]: host [Zabbix server] not found
30442:20170523:184252.470 cannot send list of active checks to [10.163.5.22]: host [Zabbix server] not found