RRDTool + Cacti

RRDTool + Cacti - Logiciels - Linux et OS Alternatifs

Marsh Posté le 20-02-2009 à 09:48:25    

Bonjour,  
 
j'ai un souci au niveau de mes graphs, toutes les données ne s'affichent pas (voir le graph de ce lien: http://forums.cacti.net/about31170.html).
 
apres quand je fais un turn off Data Source Debug Mode j'ai:
RRDTool Command:
 
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Usage Space - /vol/snapvault/" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:9: \
--font UNIT:8: \
DEF:a="/var/lib/cacti/rra/xxxxx.rrd":Used:AVERAGE \
DEF:b="/var/lib/cacti/rra/xxxx.rrd":Used:MAX \
DEF:c="/var/lib/cacti/rra/xxxx.rrd":Avail:AVERAGE \
DEF:d="/var/lib/cacti/rra/xxxx.rrd":Avail:MAX \
DEF:e="/var/lib/cacti/rra/xxxx.rrd":Total:AVERAGE \
DEF:f="/var/lib/cacti/rra/xxxx.rrd":Total:MAX \
CDEF:cdefa=a,1024,* \
CDEF:cdefd=b,1024,* \
CDEF:cdefe=c,1024,* \
CDEF:cdefh=d,1024,* \
CDEF:cdefi=e,1024,* \
CDEF:cdefbb=f,1024,* \
AREA:cdefa#0000FFFF:"Used"  \
GPRINT:cdefa:LAST:"     Cur\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Avr\:%8.2lf %s"  \
GPRINT:cdefd:MAX:"Max\:%8.2lf %s\n"  \
AREA:cdefe#D2D8F9FF:"Available":STACK \
GPRINT:cdefe:LAST:"Cur\:%8.2lf %s"  \
GPRINT:cdefe:AVERAGE:"Avr\:%8.2lf %s"  \
GPRINT:cdefh:MAX:"Max\:%8.2lf %s\n"  \
LINE1:cdefi#00004DFF:"Total"  \
GPRINT:cdefi:LAST:"    Cur\:%8.2lf %s"  \
GPRINT:cdefi:AVERAGE:"Avr\:%8.2lf %s"  \
GPRINT:cdefbb:MAX:"Max\:%8.2lf %s\n"
 
 
et pour le data source:
Data Source Debug
 
/usr/bin/rrdtool create \
/var/lib/cacti/rra/samarra_kbytestotal_919.rrd \
--step 300  \
DS:Avail:GAUGE:600:0:U \
DS:Used:GAUGE:600:0:U \
DS:Total:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:500 \
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:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
 
Je ne vois pas pourquoi certaines données sont 'nan'.
 
merci par avance de votre aide.

Reply

Marsh Posté le 20-02-2009 à 09:48:25   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed