I know that setting up icmpping has been covered lots elsewhere, and I've read through doc and postings here and followed the advise. fping has the right permissions:
-rws--s--- 1 root zabbix 37259 Mar 7 2007 /usr/sbin/fping
And is set correctly in zabbix_server.conf:
FpingLocation=/usr/sbin/fping
I've tried adding the item to a template, and also to an individual system and sure enough, it show up in Monitor->latest data for the node I want to test, but it always returns a value of 0, whether the node is up or down.
fping works ok from the zabbix account:
$ sudo su - zabbix
$ /usr/sbin/fping openvz2
openvz2 is alive
$ /usr/sbin/fping openvz2
ICMP Host Unreachable from 10.131.130.16 for ICMP Echo sent to openvz2 (10.131.130.20)
ICMP Host Unreachable from 10.131.130.16 for ICMP Echo sent to openvz2 (10.131.130.20)
ICMP Host Unreachable from 10.131.130.16 for ICMP Echo sent to openvz2 (10.131.130.20)
openvz2 is unreachable
If I turn on the telnet service on the remote host and change the simple check key to tcp,23 then it works as it's supposed to.
Can anyone think what I might be doing wrong? I need to add a lots of dumb systems that don't use telnet, ssh, httpd, etc for me to test against.
Cheers,
John
-rws--s--- 1 root zabbix 37259 Mar 7 2007 /usr/sbin/fping
And is set correctly in zabbix_server.conf:
FpingLocation=/usr/sbin/fping
I've tried adding the item to a template, and also to an individual system and sure enough, it show up in Monitor->latest data for the node I want to test, but it always returns a value of 0, whether the node is up or down.
fping works ok from the zabbix account:
$ sudo su - zabbix
$ /usr/sbin/fping openvz2
openvz2 is alive
$ /usr/sbin/fping openvz2
ICMP Host Unreachable from 10.131.130.16 for ICMP Echo sent to openvz2 (10.131.130.20)
ICMP Host Unreachable from 10.131.130.16 for ICMP Echo sent to openvz2 (10.131.130.20)
ICMP Host Unreachable from 10.131.130.16 for ICMP Echo sent to openvz2 (10.131.130.20)
openvz2 is unreachable
If I turn on the telnet service on the remote host and change the simple check key to tcp,23 then it works as it's supposed to.
Can anyone think what I might be doing wrong? I need to add a lots of dumb systems that don't use telnet, ssh, httpd, etc for me to test against.
Cheers,
John


Comment