[mrtg] Re: Threshold + Maxbytes

Steve Shipway s.shipway at auckland.ac.nz
Thu Feb 9 22:48:12 MET 2006

 > This is the most allowed incomming connections.
> I have also set ThreshMaxI[target]: 90  I understand that 
> this will run my script with 90% of my connections are being 
> used. Is this correct or will I have to specify it as 90%?

I believe that what you have set is for it to trigger when the number
reaches 90.  If you want it to trigger at 90% of MaxBytes, you should
specify 90% (with the % symbol).

> 2) I want to also run another script if it reaches 
> 95% of my incomming connections. How can I get it to look at 
> 90% and 95% for this job?

AFAIK you can only set up a single Max threshold for the incoming value.
However, the current value is passed to the trigger script, so you could
then make the trigger script examine the value and choose which secondary
script to call?  I'm not sure if MRTG calls the script once on passing the
threshold or if it calls it every time a value greater than the threshold is


Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

More information about the mrtg mailing list