No graphs

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

Moderators: Developers, Moderators

Post Reply
duanew
Posts: 16
Joined: Tue Apr 03, 2007 12:04 am
Location: Brisbane, Australia

No graphs

Post by duanew »

I have seen a few posts like this but they didn't seem to match my problem.

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:

duanew
Posts: 16
Joined: Tue Apr 03, 2007 12:04 am
Location: Brisbane, Australia

Reverted to RRDTool 1.2.28

Post by duanew »

I went back to RRDTool 1.2.28 and now I have the graphs. There is now text but I must have to define the font.
duanew
Posts: 16
Joined: Tue Apr 03, 2007 12:04 am
Location: Brisbane, Australia

Reverted to 1.2.27

Post by duanew »

I went back to 1.2.27 to avoid the font problem in 1.2.28.

http://forums.cacti.net/viewtopic.php?t ... highlight=

I think all is working fine now.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest