Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Post support questions that directly relate to Linux/Unix operating systems.
Moderators: Developers , Moderators
wappy
Posts: 1 Joined: Sat Feb 14, 2009 1:10 pm
Post
by wappy » Sat Feb 14, 2009 1:17 pm
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
gandalf
Developer
Posts: 22383 Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:
Post
by gandalf » Sun Feb 15, 2009 12:44 pm
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
Users browsing this forum: No registered users and 1 guest