[mrtg] Re: MRTG Theshhold functions.

David C Prall dcp at dcptech.com
Fri Aug 27 15:03:36 MEST 1999


> In mrtg there is an functionalitie to call programms based on
thresholds minima and maxima
>
> The keywords are
>
> ThreshDir:  /vol1/Http/Stat/Thrash
> ThreshMinI[_]: 1
> ThreshMaxI[_]: 10000
> ThreshMinO[_]: 1
> ThreshMaxO[_]: 10000
> ThreshProgI[_]: programm
> ThreshProgO[_]: programm
> ThreshProgOKI[_]: programm
> ThreshProgOKO[_]: programm
>
It is going to pass three variables to the program for breaking the
threshold and two when it is OK again. The first variable will be the
target name, second the threshold, and third current value. When it is
ok again you will get the target name and current value.

Program will have to be in backquotes -
`/usr/mrtg/mrtg-2.8.7/run/thrbroke` as well.

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


More information about the mrtg mailing list