Aggregate Plugin Wrong Sum ?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
cpmarvin
Posts: 3
Joined: Mon Mar 07, 2011 3:02 am

Aggregate Plugin Wrong Sum ?

Post by cpmarvin »

I have Aggregate plugin installed ( v0.75 ). Everything works fine except the total maximum OUT/IN GPRINT MAX value is not correct , or my math is very bad :)

So , how come 4.27 G + 1.73 G = 5.82 and 5.15 G + 2.84 G = 7.88 ??

Please share some light , maybe i'm missing a configuration option or something.
Attachments
graph results
graph results
cacti_2.jpg (56.89 KiB) Viewed 1166 times
graf config
graf config
cacti_1.jpg (76.79 KiB) Viewed 1166 times
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Aggregate Plugin Wrong Sum ?

Post by noname »

I think (just a guess),
'time of maximum traffic on Te3/2 was observed' was not same as 'time of maximum traffic on Te3/3 was observed'...

And, I also think,
apart from each maximum, 'TOTAL Maximum' seems to be determined after aggregated Te3/2 and Te3/3 with same timing each in given timespan.

An extreme example:

Code: Select all

+-------+-------+-------+-------+
| Time  | Te3/2 | Te3/3 | Total |
+-------+-------+-------+-------+
| XX:00 | 4.27G | 0.00G | 4.27G | <-- Te3/2 max
| XX:05 | 0.00G | 1.73G | 1.73G | <-- Te3/3 max
| XX:10 | 2.91G | 2.91G | 5.82G | <-- Total max
+-------+-------+-------+-------+
To verify, please export the graph (or dump rrd) and examine how values stored in.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Aggregate Plugin Wrong Sum ?

Post by gandalf »

This is a very correct explanation
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests