我是zabbix的新手。 基本上我想监视一个ping是否变得对服务器没有反应。 所以试试看,我select了www.google.com(103.7.200.87)来监视ping的状态。
但是我的configuration给了我这个错误。
get value from agent failed. cannot connect to [[103.7.200.87:10050]:[4] interrupted system call
这是我在日志文件中
2363:20150419:202143.796 cannot send list of active checks to [127.0.0.1]: host [Zabbix server] not found 2363:20150419:202343.898 cannot send list of active checks to [127.0.0.1]: host [Zabbix server] not found 2368:20150419:202411.730 fping failed: (null): can't create socket (must run as root?) : Permission denied 2376:20150419:202413.581 item "Google:icmpping" became not supported: fping failed: (null): can't create socket (must run as root?) : Permission denied 2376:20150419:202413.581 item "Google:icmppingloss" became not supported: fping failed: (null): can't create socket (must run as root?) : Permission denied 2376:20150419:202413.581 item "Google:icmppingsec" became not supported: fping failed: (null): can't create socket (must run as root?) : Permission denied 2356:20150419:202503.602 Zabbix agent item "system.localtime" on host "Google" failed: another network error, wait for 15 seconds
我应该如何解决错误,以便我可以监视www.google.com的ping状态?
你得到这个错误的原因是,Zabbix正试图寻找一个代理103.7.200.87连接。
如果您只是试图在没有代理的情况下ping服务器,您将需要使用简单的检查(icmpping)。
https://www.zabbix.com/documentation/2.0/manual/config/items/itemtypes/simple_checks