Ce premier script fait exactement ce que je souhaite : afficher 2, 1 et 4
Code :
1 2 3 4 5 6 7
| rrdtool create ${FICRRD}.rrd --step 300 --start 978303900 DS:b300:GAUGE:300:0:U \
RRA:AVERAGE:0:1:3
rrdtool update ${FICRRD}.rrd \
978304200:2 \
978304500:1 \
978304800:4
rrdtool graph /usr/local/apache/htdocs/${FICRRD}.gif --start 978303900 --end 978305200 --step 300 -h 400 DEF:lineb=${FICRRD}.rrd:b300:AVERAGE LINE:lineb#00FF00:"Line_300" |
Mais avec un step 600 et le script ci-dessous, j'obtiens 1, 1.5, et 2.5 pourquoi s'il vous plait (je voudrais voir afficher 2,1 et 4 avec mon step à 600)
Code :
1 2 3 4 5 6 7 8
| rrdtool create ${FICRRD}.rrd --step 600 --start 978303900 DS:b600:GAUGE:600:0:U \
RRA:AVERAGE:0:1:3
rrdtool update ${FICRRD}.rrd \
978304500:2 \
978305100:1 \
978305700:4
rrdtool graph /usr/local/apache/htdocs/${FICRRD}.gif --start 978303900 --end 978305700 --step 600 -h 400 DEF:lineb=${FICRRD}.rrd:b600:AVERAGE LINE:lineb#00FF00:"Line_600" |