[mrtg] Re: Calling MRTG within another Perl script -
Chirhart, Brian
bchirhart at fnni.com
Fri Jan 11 21:06:57 MET 2002
Got it working...
Forward slashes!!!
I will post the script soon - it may help some people.
-----Original Message-----
From: Paul C. Williamson [mailto:pwilliamson at mandtbank.com]
Sent: Friday, January 11, 2002 1:25 PM
To: Chirhart, Brian; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Calling MRTG within another Perl script -
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
--
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