advanced ping & packetloss

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
audun
Posts: 2
Joined: Tue Feb 14, 2006 4:02 pm

advanced ping & packetloss

Post by audun »

Hi. I have sucessfully set up advanced ping on several hosts. But I am not satisfyed. If one host has 100% packetloss there is no graph ! The graph disconnects. If there is some % packetloss like 40% then it is graphed, and the numbers are indicating correct. But if there is 100% packetloss: no graph and the numbers indicating packetloss is showing 0%. I have run the ss_fping manualy and it shows correct 100% packetloss ig a host is down. So I think the ping is ok. It is the graph who isn't graphing. Is this possible. It should show a red line at packetloss. The hosts are set up without snmp. Just ping graphing. It indicates down in monitor and thold. Look at the atached graph.
Attachments
ping.jpg
ping.jpg (30.73 KiB) Viewed 6428 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This may be connected to the Downed Host Detection. If the host is detected as down, no more polling is done. So the value of the according rrd file will be NaN. The Graph Template decides, how to graph this. In earlier versions of the Advanced Ping Template this was shown as a vertical red line for each NaN. Later, this was changes on purpose to show nothing. Of course, you may change this for your local installation.
Reinhard
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The Advanced ping template is a temporary solution till 0.9, where packet loss will be more automatic. If you want to see 100% loss, then you need to associate the graph with a host that has no snmp community string. Then you will see it. In the next release, the Advanced Ping will utilize the Cacti system default ping method, whichever it is.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
audun
Posts: 2
Joined: Tue Feb 14, 2006 4:02 pm

display off loss

Post by audun »

Ok. I'm not an expert in editing graph templates. How should I implement the graphing of NaN. I want to have an erea in the graph with the color corresponding to the packetloss. That would be red at 100% packetloss. Could someone give me an adwice, ore better, edit the graph template for me ? And post it here. Thanks.
gsaray101
Cacti User
Posts: 233
Joined: Thu May 17, 2007 9:18 am

advanced ping

Post by gsaray101 »

using cacti version 0.8.7a and noticed a problem. If I add a device using ping, it still relies on snmp. If the snmp agent on the remote server is down, this advanced ping script wont work. is this problem addressed?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests