Re: Graphing the Delta

Chris Adams <[email protected]> Tue, 18 Aug 2009 15:37:44 -0500
Newsgroups gmane.network.cricket.user
Message-ID <[email protected]>
Once upon a time, Tory M Blue <[email protected]> said:
> W0w seems like it's been some time since I've had to ask a question.
> 
> I'm looking to trend/graph the delta. I will have an ever increasing
> counter that I would like to grab the delta and graph that. (for
> trending).
> 
> So I really want to be able to subtract the current result from the
> previous result and having a hard time working that out. What am I
> missing?

That's the way the interface counters work, so you can look at those for
examples.  You want to use DERIVE or COUNTER as your rrd-ds-type; note
that this is set at RRD creation time, so simply changing the Cricket
config later won't help.  You'll have to re-create (or at least dump,
edit, and restore) your RRDs.

See "man rrdcreate" for a little bit of discussion about DERIVE vs.
COUNTER.

-- 
Chris Adams <[email protected]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july