noob on cacti

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

Moderators: Developers, Moderators

Post Reply
fazil
Posts: 11
Joined: Mon Jan 05, 2009 2:41 am

noob on cacti

Post by fazil »

I have several problems.
I made a new installation of cacti on a ubuntu.j 've added a device.my first problem is that I do not have graphs. when I go to graph management I have this:

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="xchange - CPU Utilization - CPU0" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="percent" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/cacti-0.8.7a/rra/xchange_cpu_73.rrd":cpu:AVERAGE \
DEF:b="/var/www/cacti-0.8.7a/rra/xchange_cpu_73.rrd":cpu:MAX \
AREA:a#FF0000FF:"CPU Utilization" \
GPRINT:a:LAST:"Current\:%8.0lf" \
GPRINT:a:AVERAGE:"Average\:%8.0lf" \
GPRINT:b:MAX:"Maximum\:%8.0lf\n"

RRDTool Says:

ERROR: opening '/var/www/cacti-0.8.7a/rra/xchange_cpu_73.rrd': No such file or directory

i have www-data:www-data and 775 on rra directory. there are no file in this directory. if i execute this command :

/usr/bin/rrdtool create \
/var/www/cacti-0.8.7a/rra/xchange_cpu_73.rrd \
--step 300 \
DS:cpu:GAUGE:600:0:100 \
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 \

i can see the file in the rra directory

my second problem, which may be linked to the first, my device is seen as unknown.if I run a hand file cmd.php my device is immediately seen as up.

(sorry for my english :( )
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please upgrade to cacti 087d and see 2nd link of my sig
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests