[mrtg] Re: Alert on No Response
Williams, Garth
gkwilliams at epcor.ca
Tue Jul 16 17:12:13 MEST 2002
I have been following this thread with some interest.
What is meant by "No MRTG response"?
Most of the time, MRTG takes advantage of the SNMP_Util module to query the
intended target, right?
So, why not write a small SNMP query before MRTG scan and if fail, send an
email or somrthing?
For example, before I start my MRTG run, I PING the target. If it fails,
then I send an email and move onto the next target. Etc., etc. Works
great!
If I were doing it via SNMP, then I would use the SNMP_Util module, and
query the sysDescr or sysObjectID value, and make sure I get a valid return
(i.e. not 0 or undef).
Beyond that seems to me that you would be doubling up on the query if you
were to test each target OID before MRTG was.
... Or am I way out in left field?
> Hi everyone.
>
> I have a question that I thought would be common, but only shows up in the
> archive a couple times with no responses. What I'd like to do is call a
> shell script when a device fails to respond to MRTG.
>
> Any suggestions you can offer would be much appreciated.
>
> -jrb
>
This e-mail contains confidential information that is proprietary to EPCOR
and its subsidiary companies in all respects. This information is intended
only for the person(s) named in the destination address. Distribution,
copying or disclosure is strictly prohibited. If you receive this e-mail in
error, please delete it immediately.
--
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