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" \
GPRINTLAST:"Current\:%8.0lf" \
GPRINTAVERAGE:"Average\:%8.0lf" \
GPRINTMAX:"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 )
noob on cacti
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 2 guests