ICMP statistics template

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

Moderators: Developers, Moderators

Post Reply
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

ICMP statistics template

Post by camerabob »

I was tired of aimlessly searching for a template for ICMP statistics and getting half of the data and scrounging uselessly for the rest (the mysterious, mystical PERL script!), so I cobbled together a template of my own. Please read the pretty simple README instructions and have at it.
ICMP statistics.png
ICMP statistics.png (89.65 KiB) Viewed 1056 times
Included files:
Data source template
Graph template
icmp_statistics.pl (PERL file that manipulates the PING requests into Cacti readable data)
README

This script can be rather intensive since it sends out bursts of PINGs to however many devices you determine. I defaulted it to 15 PINGs per poll (per device). This is changeable in the Cacti data source template, but I limited the PERL script at a max of 25. When you implement this, check your logs for poller overruns and adjust accordingly. This was written on a CentOS Linux server, so Windows users may have to tweak it a bit.
Attachments
icmp_statistics.zip
(95.27 KiB) Downloaded 193 times
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests