[mrtg] Re: Counter Or Gauge

Daniel J McDonald dan.mcdonald at austinenergy.com
Fri Sep 9 14:33:59 MEST 2005


On Thu, 2005-09-08 at 14:27 -0700, Tendolkar Mohit wrote:
> You misunderstood.
> 
> I am trying to get at means by which I can graph "expressions of the
> type guage" which are constructed using "MIB objects that are counters".
> 
> 
> I KNOW MRTG has the functionality to calculate percent utilization for
> "network interfaces".

Or anything else, for that matter.  I calculate percentages for lots of
weird things.


> I just illustrated with my "fictitious" instance where the aim was: I
> was trying to calculate/graph percent network utilization using my
> custom formula, but didn't exactly know how to instruct MRTG/RRD to do
> it - given that MRTG allows only guage or counter types for expressions
> - neither of which are valid. I know that.

Actually, there is one other type - absolute - but that doesn't apply
here.

> The aim is NOT to calculate any rate over an unknown time, rather the
> aim of this fictitious example is to calculate % network utilization
> since the time the value was last acquired. Can you suggest an MRTG
> expression and type to do it?

Set it to guage and let rrdtool deal with it as a stacked area with
average calcs.  It's always best to store raw data and derive displayed
data.  The underlying data is a counter that rolls over rather quickly -
let mrtg deal with the roll-over counter, providing you with rates, and
let rrdtool provide the averages.

-- 
Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281
Austin Energy

dan.mcdonald at austinenergy.com

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list