[mrtg] Perl script
Miller Anthony (RBAU/ISY)
Anthony.Miller at au.bosch.com
Thu Apr 20 01:18:16 MEST 2000
Guru's
I have had some trouble with a perl script that opens a .txt file that
contains
the output of a ping (windows95 ping), then retrieves the max, min and avg
and uses this to create a graph. Does anyone have such a script that I
could try?
I currently run a ping probe from my mrtg box (NT 2.8.3) which uses the
comment
Target[xxxx]:`perl c:\mrtg-2.8.3\cfg\mrtg-ping-probe.pl xxx.xxx.xxx.xxx`
and this works fine as the perl script is actually running the ping.
But now I am trying to query a text file where the ping has already run and
the output is in the file.
Here is my target
Target[xxx]:`perl c:\mrtg-2.8.3\cfg\vpn-ping-probe.pl
c:\mrtg-2.8.3\cfg\myfile.txt`
and it is not working.
Here are my files.....any ideas?
<<myfile.txt>> <<vpnping.cfg>> <<vpn-ping-probe.pl>>
regards
Anthony Miller
===============================
Network Engineer
Information Systems Department
Robert Bosch (Australia) Pty. Ltd.
1555 Centre Road, Clayton, Victoria, Australia, 3168
Tel. : +61 3 9541 7824 Fax : +61 3 9541 5284
E-mail : anthony.miller at au.bosch.com
-- Attached file removed by Listar and put at URL below --
-- Type: text/plain
-- Desc: myfile.txt
-- Size: 468 bytes
-- URL : http://www.ee.ethz.ch/~slist/pantomime/cl004ping.txt
-- Attached file removed by Listar and put at URL below --
-- Type: application/octet-stream
-- Size: 689 bytes
-- URL : http://www.ee.ethz.ch/~slist/pantomime/vpnping.cfg
-- Attached file removed by Listar and put at URL below --
-- Type: application/octet-stream
-- Size: 969 bytes
-- URL : http://www.ee.ethz.ch/~slist/pantomime/vpn-ping-probe.pl
--
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
More information about the mrtg
mailing list