ICMP Latency monitoring

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
squeak
Posts: 27
Joined: Fri Nov 26, 2010 5:59 pm

ICMP Latency monitoring

Post by squeak »

Hi,

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
Now unfortunately my Unix knowledge is not that great so i'm not entirely sure what impact these various suggestions i've tried actually have, but at present the above files show as:

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
This combination results in the outcome listed above. Other combinations result in LAN hosts showing as 'DOWN' all the time as well, and ping results on the individual device's tab also fail.

So, can anyone assist or point me in the right direction please?

Thanks in advance,
ari
Posts: 24
Joined: Fri Jan 08, 2010 10:29 am

Re: ICMP Latency monitoring

Post by ari »

Did you ever find a solution to this problem?
bfek-18
Posts: 24
Joined: Mon Oct 27, 2003 9:13 am
Location: Germany, Potsdam

Re: ICMP Latency monitoring

Post by bfek-18 »

trying times without the "Downed Device Detection" selection
bye
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest