[mrtg] Re: Calling MRTG within another Perl script -
Paul C. Williamson
pwilliamson at mandtbank.com
Fri Jan 11 20:24:57 MET 2002
I think you may need to remove the double quotes (or a a \ before each ") around $mrtgfile.
Paul
>>> "Chirhart, Brian" <bchirhart at fnni.com> 01/11/02 01:31PM >>>
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
--
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