[mrtg] Re: enhancement suggestion

alex at ergens.op.Het.Net alex at ergens.op.Het.Net
Tue May 30 17:36:40 MEST 2000


Calvert, Neil wrote:

> I think a nice function of MRTG would be to do a quick 'are you up' check on
> a polled device prior to sending snmp, say a 5 ping sequence (or however
> many you want to send, user modifiable). If none of the pings come back then
> assume the device is down for the duration of this poll and move to the next
> target in the config file.

Not inside MRTG but what about a quick check using ping?
On a unix box (perhaps the NT folks can make this work too) running
bash I can do:

      ping -c1 whateverhostontheotherside && mrtg...

For people not familiar with this syntax:  it is short for
"  if ping returns successfully
   then
      mrtg
   fi
"

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 |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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



More information about the mrtg mailing list