Graph totals are still not correct

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
incrediblekicks
Posts: 4
Joined: Mon Jun 19, 2006 4:09 pm

Graph totals are still not correct

Post by incrediblekicks »

Hey everyone. I've read the thread of aggregate sum graphing and still seem to be getting totals that are a little off. they especially seem to be off in the MAX fields. Has anyone figured this out? You can see how MAX for the two data sources should add up to 16.85, but it's showing 16.66.

Image
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Graph totals are still not correct

Post by gandalf »

incrediblekicks wrote:You can see how MAX for the two data sources should add up to 16.85, but it's showing 16.66.
No, you're wrong. Both maxima exist at different timestamps
Reinhard
incrediblekicks
Posts: 4
Joined: Mon Jun 19, 2006 4:09 pm

Post by incrediblekicks »

understood, so is it impossible to gather a true total since the samples were taken at different times?

thanks!
-bj
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Not wanting to insult, but this IS a true total. Taken at each and every new timestamp. It totals both Input and Output traffic.
Or are you asking for a SUM of Input traffic, calculated for the timespan displayed in the graph?
Or are you asking for a SUM of MAXima of each data source?
This, and more, is possible using rrdtool. Please ask your question as detailed as possible, and we'll have a try
Reinhard
incrediblekicks
Posts: 4
Joined: Mon Jun 19, 2006 4:09 pm

Graph totals

Post by incrediblekicks »

I just want to be able the sum of the CURRENT, AVG and MAXes to correctly equal what is listed at the bottom. If you add them up by hand, they don't match. Obviously there is something I'm not understanding here, heh.

Thanks a lot for your help!

-BJ
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Ok, this is _not_ possible. It is only possible for CURRENT data, as these are taken at the same timestamp. You may even add AVERAGE, MAX and MIN at each timestamp. Perhaps, reading http://www.vandenbogaerdt.nl/rrdtool/ will help. He's the most accomplished CDEF guy apart from Tobi Oetiker himself, AFAIK.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests