[rrd-users] alt-y-grid buggy?

Eric Schoeller eschoeller at users.sourceforge.net
Wed Feb 6 04:58:58 CET 2013


Hi,

I just switched over to using alt-y-grid within our large Cacti 
infrastructure. The immediate perception was excellent, I started 
getting a lot more meaningful scales on the y-grid. As I have been 
thumbing around through other graphs I have started to see some 
inconsistency. I have some graphs where the y-axis just doesn't make 
sense, and I can't understand why rrdtool would select the grids that it 
did. See the attachment for an example. Why do I only have "50" and "52" ?

We are running rrdtool 1.4.7. Here is the command line that created the 
attached graph:

/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=1360036161 \
--end=1360122561 \
--title='XXXXXXXXXXXXXXXXXXXXXXXXXXXXX' \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale --alt-y-grid \
COMMENT:"From 2013/02/04 20\:49\:21 To 2013/02/05 20\:49\:21\c" \
COMMENT:"  \n" \
--vertical-label='amps' \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="XXXXXXXXXXXXXXXXXXXXX.rrd":currenta:AVERAGE \
DEF:b="XXXXXXXXXXXXXXXXXXXXX.rrd":currentb:AVERAGE \
DEF:c="XXXXXXXXXXXXXXXXXXXXX.rrd":currentc:AVERAGE \
CDEF:cdefa=a,10,/ \
CDEF:cdeff=b,10,/ \
CDEF:cdefba=c,10,/ \
LINE1:cdefa#000000FF:"Phase A\:"  \
GPRINT:cdefa:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefa:MIN:"Min\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Avg\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Max\:%8.2lf %s\n"  \
LINE1:cdeff#FF0000FF:"Phase B\:"  \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdeff:MIN:"Min\:%8.2lf %s"  \
GPRINT:cdeff:AVERAGE:"Avg\:%8.2lf %s"  \
GPRINT:cdeff:MAX:"Max\:%8.2lf %s\n"  \
LINE1:cdefba#0000FFFF:"Phase C\:"  \
GPRINT:cdefba:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdefba:MIN:"Min\:%8.2lf %s"  \
GPRINT:cdefba:AVERAGE:"Avg\:%8.2lf %s"  \
GPRINT:cdefba:MAX:"Max\:%8.2lf %s\n"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: alt-y-grid-buggy.png
Type: image/png
Size: 25741 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20130205/7bd76b9c/attachment-0001.png 


More information about the rrd-users mailing list