Graphs aren't displayed in browser

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
wappy
Posts: 1
Joined: Sat Feb 14, 2009 1:10 pm

Graphs aren't displayed in browser

Post by wappy »

I have a problem with cacti on a debian system, the rrd files are created but the graphs are not showing in the browser, when i turn debug graph on

Code: Select all

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="sw-dlink - Traffic - swp08" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
DEF:a="/usr/share/cacti/site/rra/sw_traffic_in_36.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/sw_traffic_in_36.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\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" 
it dosen't do anything, but the if the above command I run it on the shell it prints out strange charcters .
any ideea?

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

Re: Graphs aren't displayed in browser

Post by gandalf »

wappy wrote:I have a problem with cacti on a debian system, the rrd files are created but the graphs are not showing in the browser, when i turn debug graph on

rrdtool version 1.12.5
There's no such rrdtool version. A typo?
Please run following command and post png file

Code: Select all

/usr/bin/rrdtool graph /tmp/foo.png \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="sw-dlink - Traffic - swp08" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
DEF:a="/usr/share/cacti/site/rra/sw_traffic_in_36.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/sw_traffic_in_36.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\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" 
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests