"total out" bandwidth in cacti stays zero

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

Moderators: Developers, Moderators

Post Reply
dennis00
Posts: 8
Joined: Mon Sep 12, 2005 6:25 am

"total out" bandwidth in cacti stays zero

Post by dennis00 »

The image speaks for itself... haven't been able to find a-like topics with the same issue.

Would any of you have an idea?

And another thing... is it possible to name the graphs? So I call port 1 e.g. "server01" ?
Attachments
Total out remains zero all the time.
Total out remains zero all the time.
graph_image.php.png (7.68 KiB) Viewed 1543 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Enable graph debugging and post the outputted text (click the wrench icon).

Yes, you can name the graph anything you like. In graph management, find the graph and change the name of it.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Please export and post that template.
[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]
dennis00
Posts: 8
Joined: Mon Sep 12, 2005 6:25 am

Post by dennis00 »

Thanks for replying, I really can't figure out things myself.

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="switch-ciu3 - Traffic - Fa0/24" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="/var/www/html/cacti/rra/switchciu3_traffic_in_32.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/switchciu3_traffic_in_32.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
CDEF:cdefi=a,8,* \
AREA:cdefa#00CF00:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total In:  23.87 GB\n"  \
LINE1:cdeff#002A97:"Outbound"  \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefi:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total Out: 0 bytes"
The .xml-file is the template.
Attachments
Wrench output (also posted in topic)
Wrench output (also posted in topic)
wrench.gif (31.88 KiB) Viewed 1497 times
cacti_graph_template_interface_traffic_bytessec_total_bandwidth.xml
Template
(13.8 KiB) Downloaded 123 times
dennis00
Posts: 8
Joined: Mon Sep 12, 2005 6:25 am

Post by dennis00 »

Anybody? :(
I'd really like someone to help.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests