[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
> Target[ccu101_tx-fail]: at
> YLegend[ccu101_tx-fail]: TX PayLoads Fail Retry
> ShortLegend[ccu101_tx-fail]: payloads
> MaxBytes[ccu101_tx-fail]: 1000
> Options[ccu101_tx-fail]: growright, nopercent


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

I suspect that your difference is too low, and anything under 1 per second
is lost
Use Perminute to get around this.


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