[mrtg] PING code

awatthey at mmm.com awatthey at mmm.com
Fri Jul 13 12:44:10 MEST 2001


I use MRTG to graph interface statistics.
I have recently added a call to an external perl script which does a few PINGs
and returns the results.

Because PING is not a good measure of latency in a network (routes differently
and gets thrown away regularly) I wish to use a PERL script to start a session
with a particular port number and graph the results.

Does anyone know of such a program?   Whether it is in PERL or C is immaterial.

All I need it to do it to try and do the connect to an IP address and port
number passed as a parameter.  To time out after 15 seconds and to return me the
time it took (in milliseconds preferably) to establish the connection.


Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list