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"
<<attachment: alt-y-grid-buggy.png>>
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
