[mrtg] Re: 'Failed to reach Target' email

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Tue Jan 18 00:28:29 MET 2000


Michael Robbins wrote:
> 
> I am monitoring the interface on a piece of equipment that is not up all the
> time (it's down more than it is up).  Is there a way to tell MRTG that if it
> can't reach a specific Target to immediately assume the values are zero
> (Unknaszero works, but doesn't update the graph until the device comes back
> up).  I also don't need an email for 'Failed to reach Target'.  Can this be
> turned off as well?
> 
Just write a script that returns exactly what you want.  MRTG can call
this script and will receive output --> no errors and it will update.

Writing the script is up to you.  Processing it is described well in the
manual (see /usr/src/mrtg/doc/config.txt, look for external)

regards,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list