[mrtg] Re: IN/OUT Interface Errors on Cisco

David Sawyer david.sawyer at uk.mckhboc.com
Wed Oct 10 15:14:47 MEST 2001


> Hello.
> 
# ---- snip

> I don't care how many I get per second. I just want to know how many I get
> during the polling interval.
> 
> #Input and Output Errors
> Target[rbba0sbb_wanerr]: ifInErrors.7&ifOutErrors.7:community at rbba0sbb:
> Options[rbba0sbb_wanerr]: gauge, nopercent
> 
# ---- snip

You could multiply the target by 300

Target[rbba0sbb_wanerr]: ifInErrors.7&ifOutErrors.7:community at rbba0sbb: *
300
Also remove gauge from the options.

Try to think what MRTG does.

Gauge: -
logs the actual value returned.

No gauge: -
logs the difference between the previous value and the last value (this is
where Alex would have used words like Delta).
Then it will divide the value by the polling interval (300 seconds) to give
an average.
By adding the ' * 300' to the end of the target you get just the difference
between the last two values returned.

HTH

Dave

PS
Don't forget to set the LegendI & LegendO


----------------------------------------------------------------------------
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient you
must not copy, distribute, or take any action or reliance on it.
If you have received this e-mail in error, please notify the sender.
Any unauthorised disclosure of the information contained in this e-mail
is strictly prohibited.
----------------------------------------------------------------------------



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