Cacti with freebsd issue

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

Moderators: Developers, Moderators

Post Reply
cosminb29
Posts: 1
Joined: Sat Oct 21, 2006 11:22 am

Cacti with freebsd issue

Post by cosminb29 »

Hello
any one have any ideea why i got this:

RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="cosmin internet - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
DEF:a="/usr/local/www/data-dist/cacti/rra/cosmin_internet_traffic_in_50.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/www/data-dist/cacti/rra/cosmin_internet_traffic_in_50.rrd":traffic_out:AVERAGE \
AREA:a#00CF00:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In: 0 bytes\n" \
LINE1:b#002A97:"Outbound" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out: 0 bytes"
RRDTool Says:

ERROR: opening '/usr/local/www/data-dist/cacti/rra/cosmin_internet_traffic_in_50.rrd': No such file or directory


and also rrdtool is installed but wont create the rrd file any ideea how to resolve it?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Lots of possible causes
- wrong permissions. Not likely to be the cause, if other rrd files were created successfully
- host status is not "up". Indicates, that an availabilty test fails
- not waited for the poller to run at least twice after graph generation. The poller will create those files
- perhaps more
See my link on "NaN Debugging". It does not match exactly, but includes some general hints and tips that may show the root cause
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests