[mrtg] Re: Problem running a script when a thresh hold is breached.

Martin Rheumer martinr at hotkey.net.au
Wed Aug 1 06:34:50 MEST 2001


Jim,

I think you will find you need 50%..
Otherwise it will trip at value 50.
And dont forget this is 50% of the Maxbytes
value.


Martin


At 09:34 PM 7/31/01 -0400, you wrote:
>
>I want to setup MRTG to trigger a script when a thresh hold is reached.  I
>set the ThreshMaxI[greyhound.out]: 50  and 
>ThreshProgI[greyhound.out]: /export/home/mrtg/thresh/mail.ksh  So when the
>disk space is >50% it will send me a mail.
>
>The script is run, but I am not getting any variables passed to it.  How do
>I capture these values.
>
>Thanks,
>Jim Kerick
>++++++++++++++++++++++++++++++++++++
>"Don't Panic"
>"When in doubt gas it, it ends the suspense and doesn't hurt."
>"I may not have gone where I intended to go, but I think I have ended
>up where I intended to be." Douglas Adams
>DoD # 3.2616 WINNER RCR X -> Tackiest Lawn Ornament Award
>'95 GRHD 70
>'97 Moto Guzzi California 1100i
>
>
>--
>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