Unable to view graphs

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

Moderators: Developers, Moderators

Post Reply
spaceman81
Posts: 2
Joined: Tue Sep 25, 2007 8:07 pm

Unable to view graphs

Post by spaceman81 »

Hi all,

I'm new to Linux and this is my first time setting up cacti. I managed to setup cacti but when I add a device and try to view the graph, below is what I get (in debugging mode). Help pls...

----------------------------------------------------------------------------------
RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="WW1-Sw1 - Traffic - Fa0/3" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/usr/local/cacti/rra/ww1sw1_traffic_in_130.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/cacti/rra/ww1sw1_traffic_in_130.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\: 0 bytes\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\: 0 bytes"
RRDTool Says:

ERROR: opening '/usr/local/cacti/rra/ww1sw1_traffic_in_130.rrd': No such file or directory
------------------------------------------------------------------------------------

thanks!
danathane
Cacti User
Posts: 127
Joined: Thu May 03, 2007 9:03 am

Post by danathane »

Hello!!!
How many time did you wait until posting? because this kind of error is manly due to the fact that the file is created after a first poller, and the first values for this graph are collected to the second one.

The other thing who should look at is the access right one the rra files in cacti. If the user who is set up for the poller didn't have the right to modify or access to the file.

Check this two things and have a look there : http://docs.cacti.net/node/74
spaceman81
Posts: 2
Joined: Tue Sep 25, 2007 8:07 pm

Post by spaceman81 »

Hi. It has been like that for several hours now. I am not very good in linux so I am not quite clear on the instructions in the link you posted earlier. Could you kindly be more specific as to how I may check to see if the correct permissions have already been given to the poller. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests