[mrtg] Re: Threshold on NT?
Kirk Rogers
Kirk.Rogers at trw.com
Sat Sep 25 16:51:41 MEST 1999
David,
Have you tried launching a perl program from the ThreshProg parameters? I
can make a batch file work but cant with a perl program. Isn't this a
little strange? I'm beginning to think it's a limitation in the 'mrtg' file
that was not written to launch external programs other than batch files. Am
I wrong or am I just being a bone head and don't have something configured
correctly or leaving something out?
Kirk
-----Original Message-----
From: David C Prall [mailto:dcp at dcptech.com]
Sent: Friday, September 24, 1999 8:56 AM
To: Kirk Rogers
Subject: Re: [mrtg] Re: Threshold on NT?
Here is what I use to kick everything off, and a highly modified cfg
file. Unfortunately this one only has Ethernet ports so nothing actually
happens as far as thresholds go, but it is configured with everything to
do them with a little modification.
Hope this helps,
David
David C Prall, MCNE MCSE DCP Technologies
dcp at dcptech.com http://www.dcptech.com
dcppage at dcptech.com
----- Original Message -----
From: Kirk Rogers <Kirk.Rogers at trw.com>
To: <dcp at dcptech.com>
Cc: <mrtg at list.ee.ethz.ch>
Sent: Friday, September 24, 1999 11:35 AM
Subject: [mrtg] Re: Threshold on NT?
> David,
> If its not too much trouble, can you send me your 'mrtg.cfg' file,
maybe
> just the top few lines to see how your referencing the directory, and
just
> one of you configuration sections which include the 'thresh'
parameters.
>
> Thanks,
> Kirk
>
>
> -----Original Message-----
> From: David C Prall [mailto:dcp at dcptech.com]
> Sent: Friday, September 24, 1999 4:50 AM
> To: mrtg at list.ee.ethz.ch
> Subject: [mrtg] Re: Threshold on NT?
>
> > So I put threshdir on line 2 of mrtg.cfg. That seems OK. Then I
keep
> > threshmaxo and threshprogo within the specific graph section of the
> config
> > file:
> >
> > #-------------
> > ..
> > ..
> > ThreshMaxO[currauth.isdnhub2]: 0
> > ThreshProgO[currauth.isdnhub2]: `d:\bin\acrefresh.bat`
> > ..
> > ..
> > #-------------
> >
> >
> > And it dies. Is there a reason why the MRTG documentation doesn't
> give an
> > example? Is this feature not functional?
> >
> > Kirk
> >
> Change the backticks to double-quotes and it most likely will work. I
> just call the program itself without any path. The batch file that
runs
> MRTG has the lines
>
> c:
> cd c:\mrtg-2.8.6\run
>
> before I call any of the perl scripts. I've placed all of my threshold
> programs in the run directory in order to simplify things.
>
> Hope the helps,
>
> David C Prall, MCNE MCSE DCP Technologies
> dcp at dcptech.com http://www.dcptech.com
> dcppage at dcptech.com
>
>
> --
> * 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
>
>
--
* 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