I am running up a new server on Red Hat Enterprise 5.2 (I think) 64 bit. Cacti looks like it is running OK and I have discovered a switch.
The poller is running and has created and updated the RRAs. When I go into Graph Management or the Graph Tree the graph is blank (under firefox, would be red X under IE I think).
In Graph Management I turn on Graph Debug and it shows the command but nothing under "RRDTool says".
I paste the command into a terminal session and output to a file and the graph looks OK.
Initially I installed RRDTool 1.4.2 but now have installed 1.3.9 and updated the path and the RRDTool version setting.
As far as I can see it shouldn't be file rights because Cacti invokes rrdtool and receives the graph via STDIN.
Code: Select all
RRDTool Command:
/apps/local/rrdtool-1.3.9/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="switch - Traffic - 1" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/apps/local/cacti-0.8.7e/rra/switch_traffic_in_43.rrd":traffic_in:AVERAGE \
DEF:b="/apps/local/cacti-0.8.7e/rra/switch_traffic_in_43.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s\n"
RRDTool Says: