[mrtg] Re: config oid right, but won't graph data
Peter Glanville
peter_glanville at cuk.canon.co.uk
Mon Sep 29 15:44:19 MEST 2003
> Hello:
> Here is my config for a device I want to graph. The integer returned is
a counter, so I want to graph the difference between
> the previous poll and this one. This config will work fine if I specify
the 'gauge' option, but that's not what I want since this is a counter. >
I have been trying to figure this out, but can't. What's wrong with my
config?
>
> Target[ccu101_tx-fail]:
1.3.6.1.4.1.2979.11.3.3.42.0&1.3.6.1.4.1.2979.11.3.3.42.0:public at 10.0.11.2:
> YLegend[ccu101_tx-fail]: TX PayLoads Fail Retry
> ShortLegend[ccu101_tx-fail]: payloads
> MaxBytes[ccu101_tx-fail]: 1000
> Options[ccu101_tx-fail]: growright, nopercent
<snip>
You want it to subtract the previous value, so you do not use gauge. So far
so good.
But MRTG will divide by interval (eg 300 secs) to arrive at the RATE, and
not the DIFFERENCE
I suspect that your difference is too low, and anything under 1 per second
is lost
Use Perminute to get around this.
Peter
--
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