[mrtg] Calling MRTG within another Perl script -

Chirhart, Brian bchirhart at fnni.com
Fri Jan 11 19:31:01 MET 2002


Hey - I know this has to have been done by someone else, but I am racking my
brain to figure it out.  I am trying to create a perl script that will run
the standard MRTG script - here is my line:
$e = `call perl c:\\mrtg\\bin\\mrtg c:\\mrtg\\bin\\"$mrtgfile".cfg --logging
c:\\mrtg\\log\\"$mrtgfile".log`;

The error I get is:

ERROR: Creating lockfile c:\mrtg\bin"TestPingWAH.cfg_l: Invalid argument

I do not have a TestPingWAH.cfg_l file so I know it is not that.  Any ideas?

I know this is more of a Perl question, but it is an MRTG error......

Thanks - 
Brian


--
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