[mrtg] Null Returns for Target Mathematical Expressions

Alistair.McGlinchy at marks-and-spencer.com Alistair.McGlinchy at marks-and-spencer.com
Tue Jul 17 14:57:02 MEST 2001


Hi,

I have been playing with the mathematical expression syntax of targets.  For
example:

Target[PAIR_HO_to_Chester]:1:public at 128.1.0.246 + 1:public at 128.5.0.246

This works fine for WAN links which are up 24 hours a day. However when I
started monitoring workstations I discovered that if one of the SNMP Get's
fail (eg when the client is turned off). the entire sum returns 0 even if
other parts of the sum return good values. 

Q1) Is there any way to get around this?

Q2) Is there any way for MRTG to cache the returned values so that any
additional appeals to "1:public at 128.5.0.246" in the same cfg file do not
require talking to the router again?

Thanks,

Alistair




__________________________________________________________________________________________

Registered Office:
Marks and Spencer p.l.c
Michael House, Baker Street,
London, W1U 8EP
Registered No. 214436 in England and Wales.

Telephone  (020) 7935 4422
Facsimile  (020) 7487 2670

www.marksandspencer.com

Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know and then
delete it from your system; you should not copy, disclose, or distribute its contents to
anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful
_________________________________________________________________________________________

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