[mrtg] Re: Alert on No Response

Bishop, Dean dean.bishop at tcdsb.org
Tue Jul 16 13:54:28 MEST 2002


check the somix "cisco_generic_cpu" template.  There is some framework
there.

from the template:

"The following information allows you to perform some task(s) whenever a
minimum or maximum threshold has been breached."

www.somix.com/software/mrtg

regards,
dean

-----Original Message-----
From: jrb [mailto:JeffWorking at hotmail.com]
Sent: Tuesday, July 16, 2002 1:21 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Alert on No Response



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.

I'm fairly new to Linux and MRTG, so there may be an obvious way to do this
that I'm missing.  My first thought was to test the MRTG result code, but it
seems to return 0 even if the device fails to respond (I think this is
because I'm actually seeing the PERL result, which was successful).

I also considered doing this outside of MRTG by writing a shell script to
ping the device every 5 minutes and report failures, but this won't account
for times when the ping succeeds and MRTG still fails to get a response.

Any suggestions you can offer would be much appreciated.

-jrb

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