Problema rrdtool create

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
agustin1114
Posts: 1
Joined: Sun May 22, 2011 5:52 pm

Problema rrdtool create

Post by agustin1114 »

hola a todo cacti, tengo un problema el rrdtool no crea los .rrd

/usr/bin/rrdtool create \
/var/lib/cacti/rra/localhost_traffic_in_13.rrd \
--step 300 \
DS:proc:GAUGE:600:0:1000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
--------------------------------------------------------------------------------------------
RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title='Localhost - Traffic' \
--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="/var/lib/cacti/rra/localhost_traffic_in_13.rrd":traffic_in:AVERAGE \
DEF:b="/var/lib/cacti/rra/localhost_traffic_in_13.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:

ERROR: opening '/var/lib/cacti/rra/localhost_traffic_in_13.rrd': No such file or directory
halpita9
Posts: 8
Joined: Tue May 24, 2011 1:14 am

Re: Problema rrdtool create

Post by halpita9 »

I also have the same issue,

This seems to be the most possible error in the cacti...but i don’t see proper reason out given considering all scenarios.
Cacti experts, we need your attention !
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Problema rrdtool create

Post by gandalf »

Cacti does create rrd only when data can be polled. So in most cases, a missing rrd file is a hint for u´an unresponsive target (e.g. does respond to ping but not to snmp; does respond to specific snmp requests but not to the one you're currently running etc. pp.). See 2nd link of my sig for more help
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests