Poster of Linux kernelThe best gift for a Linux geek


Section: User Commands (1) Updated: April 14, 2003
Local index Up


mrtg-ping-probe - ping probe module for Multi Router Traffic Grapher  


mrtg-ping-probe is a ping probe module for MRTG 2.x. It is used to monitor the round trip time and packet loss to networked devices. MRTG uses the output of mrtg-ping-probe to generate graphs visualizing minimum and maximum round trip times or packet loss.

mrtg-ping-probe is not run directly, but is called by MRTG as a helper when it needs to determine ping time to a host.

Act responsibly: do not use mrtg-ping-probe to ping devices without the owner's permission. Just imagine if 10,000 people decided to ping your hosts! mrtg-ping-probe is meant to be used within your network to get round trip time performance figures for your network.  


To use mrtg-ping-probe you need to configure MRTG to call it from within the definition of a target host. This is done in the MRTG config file, which is usually /etc/mrtg.conf.

Here's an example snippet: change the target name and IP address to suit your needs.

Target[]: `/usr/bin/mrtg-ping-probe 123.456.789.123`
SetEnv[]: MRTG_INT_IP="123.456.789.123" MRTG_INT_DESCR="ping"
MaxBytes[]: 100
AbsMax[]: 200
Options[]: gauge, growright
YLegend[]: ping time (ms)
ShortLegend[]: ms
Legend1[]: Maximum Round Trip Time in ms
Legend2[]: Minimum Round Trip Time in ms
Legend3[]: Maximal 5 Minute Maximum Round Trip Time in ms
Legend4[]: Maximal 5 Minute Minimum Round Trip Time in ms
LegendI[]:  Max:
LegendO[]:  Min:

Pay close attention to the backticks in the first line which tell MRTG to execute the nominated external program. Note also that you need to use the "gauge" option, since the results of subsequent ping probes are independant values and not an incrementing counter.  



The latest release of mrtg-ping-probe can be found on the web at  


This manual page was written by Jonathan Oxer <>, for the Debian project (but may be used by others).




This document was created by man2html, using the manual pages.
Time: 21:24:05 GMT, April 16, 2011