[mrtg] Re: MRTG and Threshold Parameters on NT...
Bear
bear at mail.tik.com.au
Sun Sep 26 14:51:59 MEST 1999
Hi you definately need double quotes for the bat file ( hint if you get an
error here you have summin wrong ) to work properly from an mrtg.cfg file
,take a look at the ping program in your mrtg extras directory ( it took me
a while to get it to work on NT, just didnt follow instructions - simply my
fault ! ) I cannot send your the cfg file till wednesday , but if you still
need it by then post in the group .
Bear
At 02:10 26/09/99 +0200, you wrote:
>>
>> Hi folks,
>> I'm still have yet to get the MRTG Threshold parameter to work on NT. Has
>> anyone been able to get this to work with calling a perl program from the
>> ThreshProgO or ThreshProgI? I was able to change the target to a .bat file
>> without quotes and it works fine:
>>
>> ThreshProgO[someTarget]: c:\perl\bin\perl c:\perl\progs\testProg.pl
>>
>> But when I change it to run a perl program:
>>
>> ThreshProgO[someTarget]: c:\perl\bin\perl c:\perl\progs\testProg.pl
>>
>> It comes back with "CFG Error in "threshprogo[currauth.isdnhub2]", line 21:
>> Threshold program `c:\perl\bin\perl c:\perl\progs\testProg.pl` cannot be
>> executed"
>>
>If it works with a bat file and not with a perl file, this most likely
>has nothing to do with mrtg. Are you able to run the perl script from
>the command line? Or from a bat file perhaps? Could there be a problem
>with user rights? Are your PATH settings correct?
>
>As a workaround: call a bat file from mrtg and let this bat file run
>the perl script. When this works you can modify your bat file to see
>where things go wrong.
>
>Regards,
>Alex
>
>--
>* To unsubscribe from the mrtg mailing list, send a message with the
> subject: unsubscribe to mrtg-request at list.ee.ethz.ch
>* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
>
--
* To unsubscribe from the mrtg mailing list, send a message with the
subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
More information about the mrtg
mailing list