Graphing total Bandwidth usage?

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
temak82
Cacti User
Posts: 59
Joined: Tue May 02, 2006 3:00 pm

Graphing total Bandwidth usage?

Post by temak82 »

Is there an add-on/script that will allow us to monitor the total bandwidth used in a certain period (a billing period for instance) that will put out the total amount in MB or GB?

Thanks
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Check out the Bandwidth summation section in Graph Variables chapter of the documentation.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
temak82
Cacti User
Posts: 59
Joined: Tue May 02, 2006 3:00 pm

Post by temak82 »

Will do. Thanks.
temak82
Cacti User
Posts: 59
Joined: Tue May 02, 2006 3:00 pm

Post by temak82 »

That is exactly what I am looking for. However, how do I set this up? Is this already under Templates/Devices or do I need to create it?

Our cacti was setup by a third party and I would like to give this a go myself. Particularly, I'm not sure what to do with the "Name" value as per the guide.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Well, there is already a template for Bandwidth summation.

You should be able to alter the template that the graphs in question are using. That is if they are just standard interface graphs.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
temak82
Cacti User
Posts: 59
Joined: Tue May 02, 2006 3:00 pm

Post by temak82 »

Thanks for your help. I found the templates, however, why are there two Total bandwidth templates? They seem to be the same. Also, from what I understand, if I want the default settings, I can simply add that graph to a host and that's it, correct? Or do I need to do something on the server itself?

Thanks
SoreGums
Posts: 4
Joined: Sun May 28, 2006 11:33 pm
Location: Australia

Post by SoreGums »

I'm trying to do the same thing. I setup Cacti using out of the box settings and the default templates.
Having done this I have two graphs that are practicly the same.
As can be seen in the picture attached
The difference is that the bottom one has a Total Out in MegaBytes...

How do i get the graph for bandwidth to actually represent bandwidth not throughput? also how do i get the "total in" text to show as well?

Thanks guys :)
Attachments
cacti.bandwidth.gif
cacti.bandwidth.gif (41.28 KiB) Viewed 5170 times
slack
Posts: 17
Joined: Thu May 18, 2006 12:52 pm

Post by slack »

I have the same problem with the Total In field on the graph.
qwertz
Cacti User
Posts: 98
Joined: Thu Feb 16, 2006 9:20 am

Post by qwertz »

To see the total in traffic, Go in the template and check "hard return" in the Max inbound traffic line
amh007
Posts: 1
Joined: Thu Jun 01, 2006 12:40 pm

Post by amh007 »

FYI, if you put a hard return in max output as well as max input, it will line all the data up nicely again (anal, sue me).
SoreGums
Posts: 4
Joined: Sun May 28, 2006 11:33 pm
Location: Australia

Post by SoreGums »

qwertz wrote:To see the total in traffic, Go in the template and check "hard return" in the Max inbound traffic line
amh007 wrote:FYI, if you put a hard return in max output as well as max input, it will line all the data up nicely again (anal, sue me).
That's worked great, I didn't even notice those templates.... That's probably where I can fix my other issue of getting bandwidth to display instead of through put, now to go and play :)
Arrow2005
Cacti User
Posts: 54
Joined: Thu Nov 03, 2005 3:07 pm
Contact:

Post by Arrow2005 »

slack wrote:I have the same problem with the Total In field on the graph.
easy to fix.....

go to Graphtemplates pick the template you have problems with...

ex. Interface - Traffic (bits/sec, Total Bandwidth)

change width from 500 to 600, press save....
if you can patch it to day, why dont whait util 2morrow
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests