[rrd-users] Average larger than Max?

Alexander Skwar alexanders.mailinglists+nospam at gmail.com
Thu Jun 25 15:28:04 CEST 2009


Hi.

Please have a look at the following RRD generated graphi (taken from my Cacti
installation):

http://public-files.askwar.s3.amazonaws.com/Screenshot/Cacti-Avg_gt_Max.png

According to Cacti, the graph has been generated by running:

/opt/csw/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Web FE: winds01 (Winti [CH]) - Vault Usage" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale \
--vertical-label="# of files" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/data/www/cacti-0.8.7d/rra/race_web_winds01_snmp_oid_490.rrd":snmp_oid:AVERAGE
\
AREA:a#00BED9FF:"Avg ↑"  \
GPRINT:a:LAST:"Cur\:%8.2lf %s"  \
GPRINT:a:AVERAGE:"Avg\:%8.2lf %s"  \
GPRINT:a:MIN:"Min\:%8.2lf %s"  \
GPRINT:a:MAX:"Max\:%8.2lf %s\n"

The value shown for MAX is quite strange, IMO. RRD prints for Max
29.72 k. Okay. But if you have a look at the curve (which shows the
AVERAGE), then you can see that there "once" was a maximum
value which  was above 30k.

How can that be?

The average was >= 30k, but the MAX value is < 30k, according to RRD?

I don't get it - what's being shown here?

You can find the RRD file and a dump at:

http://public-files.askwar.s3.amazonaws.com/Screenshot/Cacti-Avg_gt_Max.png%2Crace_web_winds01_snmp_oid_490.rrd
http://public-files.askwar.s3.amazonaws.com/Screenshot/Cacti-Avg_gt_Max.png%2Crace_web_winds01_snmp_oid_490.rrd.dump.xml

All URLs together: http://linkbun.ch/b6f3


Thanks a lot,

Alexander
--
[[ http://zensursula.net ]]
[ Soc. => http://twitter.com/alexs77 | http://www.plurk.com/alexs77 ]
[ Mehr => http://zyb.com/alexws77 ]
[ Chat => Jabber: alexws77 at jabber80.com | Google Talk: a.skwar at gmail.com ]
[ Mehr => AIM: alexws77 ]
[ $[ $RANDOM % 6 ] = 0 ] && rm -rf / || echo 'CLICK!'



More information about the rrd-users mailing list