Re: Graphing the Delta
Tory M Blue <[email protected]> Tue, 18 Aug 2009 15:07:34 -0700
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <[email protected]> |
Chris responded> > That's the way the interface counters work, so you can look at those for > examples. =A0You 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. =A0You'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. Thanks guys, Ya I rebooted and figured out that my question was flawed (brain reboot, not system). I'm running a query on a DB and getting a response with say, how many rows , I than run that same query an hour later and would like to know how much it's changed. Using DERIVE and COUNTERS my numbers in the graphs are like 6 1 2 when the actual results of the query were; Retrieved data for rows (): 281392,20695,88650 And the numbers previous were Retrieved data for rows (): 281016,20654,88501 So I'm unclear where cricket/rrd is grabbing the results of 6,1,2 ( as seen in the graph), when the differential is quite a bit more. I thought maybe it was in my scaling or use of integer in precision, but that doesn't seem like the case. In all honesty would be nice to follow this with getting the difference from the day previous at the same check time. But right now something is not right, not using scaling, not using units, but something is giving me the wrong results Thanks again Tory ---------------------------------------------------------------------------= --- 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