[rrd-users] --alt-autoscale question

Christian chanlists at googlemail.com
Sun May 11 09:00:00 CEST 2014


Dear list,

thanks for this great piece of software. I am using rrdtool in
pnp4nagios to plot performance data. I am plotting a temperature and
would like the y range to be set by the actual range of the data. So I
modified the corresponding pnp4nagios template to use --alt-autoscale.
Here is the command line pnp4nagios will send:

/usr/bin/rrdtool grap - --width=500 --height=100 --start 139979062
--vertical-label "" --title "lab_e102 / Check lab temperature"
--alt-autoscale

However, the lower limit on the y-axis will never be adjusted and always
remain zero in the plot.

/usr/bin/rrdtool grap - --width=500 --height=100 --start 139979062
--vertical-label "" --title "lab_e102 / Check lab temperature" -l 21.0 -r

will give me a scale that starts at 21.0 Celsius as expected. What am I
missing here? I am attaching a picture of the graph generated with
--alt-autoscale, but I am not sure it will make it to the list. The plot
has values for min and max included, and they are correct, so
--alt-autoscale should work. Thanks,

Christian

PS: This is rrdtool 1.4.7-2 as shipped by Debian wheezy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot.png
Type: image/png
Size: 14934 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20140511/1d7742de/attachment-0001.png 


More information about the rrd-users mailing list