I've got a requirement to add a few graphs into our existing Cacti install which show ICMP ping latency to a few off-site devices. I've been trying to get this working for some time now and have tried a wide selection of fixes found both within the documentation and on this forum, however i've still failed! So, i'm hoping someone may be able to point out where i'm going wrong...
Here is a summary of the current installation (please ask for more info if you need something specific):
Cacti Version: 0.8.7e / unix
NET-SNMP version: 5.4.1
RRDTool Version: RRDTool 1.3.x
Hosts 83 / Graphs: 1062
Poller: Spine
Here is the process which i followed to create the host:
Add a new Device with...
Host Template: None
Downed Device Detection: Ping
Ping Method: ICMP Ping
SNMP Version: Not In Use
Now at this point, (before even creating any graphs) the Device immediately goes to 'DOWN' on the device list
...however...
At the top of the Device page itself, it shows
Ping Results
ICMP Ping Success (27.219 ms)
Which means it can see that it is up, but at the same time Cacti logs:
SPINE: Poller[0] Host[104] Hostname[x.x.x.x] ERROR: HOST EVENT: Host is DOWN Message: UDP: Ping timed out
Then, if i change the device IP to a LAN IP address (instead of one on the internet) then the device comes UP and goes green.
So, it is only failing for pings to external addresses, but even when it shows 'down' it still shows a successful Ping response on the Device page.
What have i done so far? Well, i've tried a combination of various fixes, such as:
Code: Select all
chown root:root /usr/sbin/spine
chown root:root /bin/ping
chown www-data:www-data /usr/sbin/spine
chown www-data:www-data /bin/ping
chmod +s /usr/sbin/spine
chmod +s /bin/ping
Code: Select all
-rwsr-sr-x 1 root root 35600 2009-05-11 22:43 /bin/ping
-rwxr-xr-x 1 root root 80848 2009-05-02 05:01 /usr/sbin/spine
So, can anyone assist or point me in the right direction please?
Thanks in advance,