I have been trying to get mrtg-ping-probe working, and have amended a script (which I have copied below). However when I run the script, it seems to work (i.e. creates a couple of HTML files and a log file) but after a few seconds I get bad command of filename, but I have no idea what command of file could be wrong. Any help would be appreciated. I attach the log file created which seems to be wrong. Sanj (See attached file: cardiff.ping.log) WorkDir: C:\web\webpages ################################################################## # Multi Router Traffic Grapher -- Example Configuration File # to integrate mrtg-ping-probe - A Round Trip Time Probe ################################################################## # # @(#) $Id: mrtg.cfg-ping,v 2.1 2001/01/06 22:05:52 pwo Exp $ # @(#) mrtg-ping-probe release $Name: Release_2_0_2 $ # ################################################################## # This file is for use with mrtg-2.0 # # Note: # # * Keywords must start at the begin of a line. # # * Lines which follow a keyword line which do start # with a blank are appended to the keyword line # # * Empty Lines are ignored # # * Lines starting with a # sign are comments. # ################################################################## ################################################################## # Sample entry to monitor round trip time to the host rubycon ################################################################## Title[cardiff.ping]: Round Trip Time Analysis PageTop[cardiff.ping]:

Round Trip Time Analysis

################################################################## # We set MaxBytes to the time in ms that we consider "normal" for # an unused link, so that the per-cent values show how much you # are off when the line is used more heavily. you also have to # set AbsMax, otherwise values greate than MaxBytes would be # ignored. MaxBytes[cardiff.ping]: 180 AbsMax[cardiff.ping]: 10000 ################################################################## # Set gauge, to treat the values gathered from target as absolute # and not as counters. Options[cardiff.ping]: gauge ################################################################## # Call the ping-probe. You can include arguments to increase # the packet count or size. # Some ping programs try to map IP addresses to hostnames # (e.g. Solaris 2); a DNS failure will cause the ping to # fail, so you might want to suppress address to hostname # mapping by passing an option to the pring program. On # Solaris, the option is `-n', so you would add `-o -n' as # shown in the second line. # The third line also sets a timeout. You want this if your # ping insist on receiving (not only sending) the given # number of pings. Target[cardiff.ping]: `perl mrtg-ping-probe mrscardiff` #Target[cardiff.ping]: `perl mrtg-ping-probe -o -n mrscardiff` #Target[cardiff.ping]: `perl mrtg-ping-probe -t 42 -o -n mrscardiff` ################################################################## # We have to change all labels of the graph. # YLegend[cardiff.ping]: round trip time ShortLegend[cardiff.ping]: ms Legend1[cardiff.ping]: Maximum Round Trip Time in ms Legend2[cardiff.ping]: Minimum Round Trip Time in ms Legend3[cardiff.ping]: Maximal 5 Minute Maximum Round Trip Time in ms Legend4[cardiff.ping]: Maximal 5 Minute Minimum Round Trip Time in ms LegendI[cardiff.ping]:  Max: LegendO[cardiff.ping]:  Min: ################################################################## # You might want to include Peaks or not. WithPeak[cardiff.ping]: ymwd ################################################################## # Sample entry to monitor packet loss Target[cardiff.loss]: `perl mrtg-ping-probe -t 42 -p loss/loss mrscardiff` Title[cardiff.loss]: Packet Loss Analysis PageTop[cardiff.loss]:

Packet Loss Analysis

MaxBytes[cardiff.loss]: 100 AbsMax[cardiff.loss]: 101 WithPeak[cardiff.loss]: ymwd Options[cardiff.loss]: gauge Unscaled[cardiff.loss]: dwmy YLegend[cardiff.loss]: % Packet Loss ShortLegend[cardiff.loss]: % Legend1[cardiff.loss]: % Packet Loss Legend2[cardiff.loss]: % Packet Loss Legend3[cardiff.loss]: Maximal 5 Minute % Packet Loss Legend4[cardiff.loss]: Maximal 5 Minute % Packet Loss LegendI[cardiff.loss]:  % loss: LegendO[cardiff.loss]:  % loss: -- Attached file removed by Listar and put at URL below -- -- Type: application/octet-stream -- Size: 49k (50214 bytes) -- URL : http://www.ee.ethz.ch/~slist/pantomime/cardiff.ping.log -- Unsubscribe mailto:mrtg-request@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