RRD File does not exist

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

Moderators: Developers, Moderators

Post Reply
fabb
Posts: 1
Joined: Fri Sep 12, 2008 10:29 am

RRD File does not exist

Post by fabb »

Hello everybody ,

I think this question was already answered but i'm new in cacti and i don't understand why my folder cd /etc/var/www/html/rra don't contains graph that i create in order to monitor devices.

Only the rrd files for my local machine are there. What can i do? My device are ok on Cacti (snmp,ping etc..). Can somebody help me ?

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

Post by gandalf »

rrd files are not created unless a graph is requested. If you added a second host and created graphs for it, rrd files should be created on the next poller interval.
If this fails, in most cases a bad setting for "downed host detection" is the root cause
Reinhard
cchytang
Posts: 3
Joined: Mon Sep 15, 2008 10:39 am

Post by cchytang »

hi

I have the same problem too. I can i solve it if host cannot detect ?

I install a Fedora 9 and use a build in 0.87b cacti, rrd tools 1.3 build in


After I add new device, it shows status unknow, but it can get information by snmp when it created, eg. version of the switch

i used snmp to dectect the device connection. and i cannot find anything in the poller cache. The rra directory does not have anything.

However, the localhost which created by cacti default is normal

i use tcpdump to c and find out that the switch and cacti has snmp communication.

what i have missed ?
Any body can help me ?

thx very much
mazaj
Posts: 13
Joined: Wed Mar 23, 2005 6:01 am

Post by mazaj »

Try to turn on debug mode.

To see something like this.

Code: Select all

Data Source Debug

/usr/bin/rrdtool create \
/usr/share/cacti/rra/server_tx_432.rrd \
--step 60  \
DS:RX:COUNTER:120:0:U \
DS:TX:COUNTER:120:0:U \
RRA:AVERAGE:0.5:5:600 \
RRA:AVERAGE:0.5:1:20160 \
RRA:AVERAGE:0.5:30:700 \
RRA:AVERAGE:0.5:120:775 \
RRA:AVERAGE:0.5:1440:797 \
RRA:MAX:0.5:5:600 \
RRA:MAX:0.5:1:20160 \
RRA:MAX:0.5:30:700 \
RRA:MAX:0.5:120:775 \
RRA:MAX:0.5:1440:797 \
Then check the actual file if it exists /usr/share/cacti/rra/server_tx_432.rrd . And check also permissions on the file, and the directory which it resides in.
channelasian
Posts: 5
Joined: Sat Nov 21, 2009 11:04 pm

Post by channelasian »

mine also the same

Code: Select all

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="Bee Laptop - Traffic - 10.100.100.99 (Intel(R) PRO/Wi)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/var/www/html/rra/bee_laptop_traffic_in_26.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/rra/bee_laptop_traffic_in_26.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" 

RRDTool Says:

ERROR: opening '/var/www/html/rra/bee_laptop_traffic_in_26.rrd': No such file or directory
Please help to fix this problem.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please see 2nd link of my sig as s first start
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest