Total bandwidth graphs don't generate

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

Moderators: Developers, Moderators

Post Reply
wrx230
Posts: 3
Joined: Mon Jan 07, 2008 6:43 pm

Total bandwidth graphs don't generate

Post by wrx230 »

The 95th percentile graphs do, the normal graphs do, but if I put the total bandwidth graph template into use it just doesn't generate. Any ideas? I tried looking around a bit before I posted but maybe I just couldn't find it.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

You want to rephrase that? Post some pics of what you mean.
wrx230
Posts: 3
Joined: Mon Jan 07, 2008 6:43 pm

Post by wrx230 »

Im not sure how else I can rephrase it. The graph template titled "Traffic (bits/sec Total Bandwidth)" doesn't seem to work. The 95th percentile graph does, a normal graph with nothing special does, but any of the total bandwidth traffic template don't seem to work - they show up as a broken image icon. They are the only templates that seem to be doing this for me. Is that a little more coherent? Sorry.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please visit the failing Graph at Graph Management, switch to DEBUG. Please post the result
Reinhard
wrx230
Posts: 3
Joined: Mon Jan 07, 2008 6:43 pm

Post by wrx230 »

Thanks, I really appreciate the help :)

Ok, so here is the debug for the total bandwidth in bits graph

Code: Select all

RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="norad.***.com - Traffic - 64.92.***.*** (eth0)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="/home/norad/domains/norad.****.com/public_html/cacti/rra/norad_****_com_traffic_in_58.rrd":traffic_in:AVERAGE \
DEF:b="/home/norad/domains/norad.****.com/public_html/cacti/rra/norad_****_com_traffic_in_58.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,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:  4.05 MB\n"  \
LINE1:cdeff#002A97:"Outbound"  \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total Out: 5.02 MB" 
RRDTool Says:
ERROR: Garbage ':  4.05 MB\n' after command:
And here it is for the total bandwidth in bytes graph

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="norad.*****.com - Traffic - 64.92.***** (eth0)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
DEF:a="/home/norad/domains/norad.****.com/public_html/cacti/rra/norad_****_com_traffic_in_59.rrd":traffic_in:AVERAGE \
DEF:b="/home/norad/domains/norad.*****.com/public_html/cacti/rra/norad_******_com_traffic_in_59.rrd":traffic_out:AVERAGE \
AREA:a#00CF00:"Inbound"  \
GPRINT:a:LAST:" Current\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:a:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total In:  0 bytes\n"  \
LINE1:b#002A97:"Outbound"  \
GPRINT:b:LAST:"Current\:%8.2lf %s"  \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:b:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total Out: 0 bytes" 
RRDTool Says:
ERROR: Garbage ':  0 bytes\n' after command
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Which version of rrdtool is used? Try running

Code: Select all

rrdtool --version
Does this match the "Settings->RRDTool Utility Version"?
Reinhard
Post Reply

Who is online

Users browsing this forum: albanepl63 and 2 guests