newbie question graphics do not work (broken links).

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

Moderators: Developers, Moderators

Post Reply
rayit
Posts: 1
Joined: Mon Oct 25, 2004 6:49 am

newbie question graphics do not work (broken links).

Post by rayit »

I installed cacti on debian linux using apt-get install cacti.

Everything seems ok
but the graphics do not work (broken links).

The version is 0.6.7 (default installed by debian)

/var/cache/cacti
drwxr-xr-x 2 www-data www-data 4096 Apr 3 2002 cacti/


I think the problem is that this (/var/cache/cacti) is empty ....

I have got an rrd.log file

10/25/2004 1:07 PM - CMD: /usr/bin/rrdtool graph - \
--imgformat=PNG \
--start="-60000" \
--title="Apache Web Hits" \
--rigid \
--base=1000 \
--height=100 \
--width=300 \
--alt-autoscale \
--no-legend \
--vertical-label="Hits" \
DEF:a="/usr/share/cacti/rra/system_webhits.rrd":system_webhits:AVERAGE \
CDEF:cdefa=a,300,* \
AREA:cdefa#7EE600:"" \
GPRINT:cdefa:LAST:"" \
GPRINT:cdefa:AVERAGE:"" \
GPRINT:cdefa:MAX:""
10/25/2004 1:07 PM - CMD: /usr/bin/rrdtool graph - \
--imgformat=PNG \
--start="-60000" \
--title="Apache/Samba/MySQL" \
--rigid \
--base=1000 \
--height=100 \
--width=300 \
--alt-autoscale-max \
--no-legend \
--vertical-label="Connections" \
DEF:a="/usr/share/cacti/rra/server_mysql.rrd":server_mysql:AVERAGE \
DEF:b="/usr/share/cacti/rra/system_samba.rrd":system_samba:AVERAGE \
DEF:c="/usr/share/cacti/rra/system_webhits.rrd":system_webhits:AVERAGE \
CDEF:cdefi=c,300,* \
AREA:b#2175D9:"" \
GPRINT:b:LAST:"" \
GPRINT:b:AVERAGE:"" \
GPRINT:b:MAX:"" \
STACK:a#7CB3F1:"" \
GPRINT:a:LAST:"" \
GPRINT:a:AVERAGE:"" \
GPRINT:a:MAX:"" \
STACK:cdefi#005199:"" \
GPRINT:c:LAST:"" \
GPRINT:c:AVERAGE:"" \
GPRINT:c:MAX:""
10/25/2004 1:07 PM - CMD: /usr/bin/rrdtool graph - \
--imgformat=PNG \
--start="-60000" \
--title="Load Average" \
--rigid \
--base=1000 \

etc ....

Also found this error
rrdtool Data Source Configuration
CANNOT FIND DATA
SOURCE: /usr/share/cacti/rra/system_mem_swap.rrd

/usr/bin/rrdtool create \
/usr/share/cacti/rra/system_mem_swap.rrd \
--step 300 \
DS:system_mem_swap:GAUGE:600:0:1000000 \
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 \



Does somebody can help me, point me in the good direction ....

Many thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests