Interface Traffic Graphs are wrong in total

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Mehdi
Posts: 7
Joined: Wed Jan 16, 2013 2:08 pm

Interface Traffic Graphs are wrong in total

Post by Mehdi »

Hello
Please see attached file, this graph show 3.09 avrage usage for inbound daily
Total inboude is incorrect because :
3.09 * 3600 * 24 = 266,976 MB
But total inbound in graph is 43.82 GB
Please help me for give really usage

Thanks a lot
Attachments
image.gif
image.gif (19.18 KiB) Viewed 1077 times
Last edited by Mehdi on Fri Jan 18, 2013 2:02 am, edited 1 time in total.
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: Interface Traffic Graphs are wrong in total

Post by Linegod »

The total would be the max for each 5 minute period added together
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Mehdi
Posts: 7
Joined: Wed Jan 16, 2013 2:08 pm

Re: Interface Traffic Graphs are wrong in total

Post by Mehdi »

Linegod wrote:The total would be the max for each 5 minute period added together
Thanks for your reply
But this method is incorrect , for calculating total usage we need this formula :
avg * 3600 * 24
How to solve this ?
This total usage is not really right now

So thanks
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: Interface Traffic Graphs are wrong in total

Post by Linegod »

Adjust the 'Total' item on the graph, and read this: http://docs.cacti.net/manual:088:6_reference.variables
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Mehdi
Posts: 7
Joined: Wed Jan 16, 2013 2:08 pm

Re: Interface Traffic Graphs are wrong in total

Post by Mehdi »

Linegod wrote:Adjust the 'Total' item on the graph, and read this: http://docs.cacti.net/manual:088:6_reference.variables
Can give me text format or value for calculating total bandwidth ?
I test this : |sum:auto:total:2:auto| on text format but it is not working correct
So thanks
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: Interface Traffic Graphs are wrong in total

Post by Linegod »

What do you mean it is not working correctly?
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Mehdi
Posts: 7
Joined: Wed Jan 16, 2013 2:08 pm

Re: Interface Traffic Graphs are wrong in total

Post by Mehdi »

Linegod wrote:What do you mean it is not working correctly?
Avg inbound is : 3.25 MB
So : 3.25 * 3600 * 24 = 280,800 MB
But total inbound daily is in graph : 73.86 GB
I attached image for you
Thanks
Attachments
image.gif
image.gif (19.91 KiB) Viewed 1058 times
User avatar
Linegod
Developer
Posts: 1626
Joined: Thu Feb 20, 2003 10:16 am
Location: Canada
Contact:

Re: Interface Traffic Graphs are wrong in total

Post by Linegod »

The graph is showing you the actual total - based on the real values in the RRD file.

Your calculation (3.25*3600*24) would be a theoretical total, and would not reflect reality at all.
--
Live fast, die young
You're sucking up my bandwidth.

J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Mehdi
Posts: 7
Joined: Wed Jan 16, 2013 2:08 pm

Re: Interface Traffic Graphs are wrong in total

Post by Mehdi »

Linegod wrote:The graph is showing you the actual total - based on the real values in the RRD file.

Your calculation (3.25*3600*24) would be a theoretical total, and would not reflect reality at all.
I think actual total is 3.25 * 3600 * 24
When avg usage in sec is 3.25 MB , 73 GB is not true for 24 hours
Can help me how to calculating realy usage at 24 hours (with my formula) ?

So thanks
Mehdi
Posts: 7
Joined: Wed Jan 16, 2013 2:08 pm

Re: Interface Traffic Graphs are wrong in total

Post by Mehdi »

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

Re: Interface Traffic Graphs are wrong in total

Post by gandalf »

Please see http://www.vandenbogaerdt.nl for a discussion on totals. Might help ...
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest