Advanced Ping with Cacti

I use an advanced ping template with Cacti to monitor ICMP latency. Advanced Ping is based on a template originally found on the Cacti forums, but modified to look more like Smoke Ping. My thanks go to my colleague at Talia, Enno, for making it look beautiful as well as functional.

Advanced_Ping

Installation

  1. Download the Advanced Ping tar archive.
  2. Extract the xml template and ss_fping.php.
  3. Copy ss_fping.php to the Cacti “scripts” directory, such as /var/www/cacti/scripts.
  4. Ensure ss_fping.php is readable by the web server’s user. Readable by all is safe. It does not need to be executable.
  5. In the Cacti web interface, import cacti_graph_template__00_advanced_ping.xml.
  6. Optionally, rename the template to remove the leading 00 (I prefer this graph to be sorted above all others), or to change its width from 750 to 500 pixels.

Add this graph template to a host and create the graph. You will be prompted what type of ping (ICMP or UDP), timeout, and port (if UDP).

Tags:

  1. caver’s avatar

    Be aware, at some cases you can damage your cacti instance, due to multi add of colors with 0 id.
    To repair, execute a SQL query “delete from colors where id =0”

    Reply

  2. Hussain’s avatar

    when importing the XML file I get an error which is

    Hash version does not exist. any help please ?

    Reply

  3. Silvia’s avatar

    Hello, I have installed Advanced Ping but i have some problems. Cacti graphs latency in ms but the data quuery associated is empty.. Somebody could help me?
    Thanks

    Reply

  4. rk4k’s avatar

    Add it successfuly and also graph correctly

    Some modification needed manually.

    1. Add name to data template
    2. Add name to graph template.

    Thats all.

    Reply

  5. Anna Patil’s avatar

    Add it successfuly and also graph correctly,

    but Packet Loss showing as nan

    Reply

    1. Tyler Wagner’s avatar

      That’s correct. How would you expect packet loss to register? Numbers are for replies in ms.

      Reply

Reply

Your email address will not be published. Required fields are marked *