#!/bin/sh echo "Content-type: image/png" echo D=/var/log/arexxd exec rrdtool graph - \ --start 'now-12h' \ --end 'now' \ --title "Relative Humidity" \ -w 720 -h 600 \ -x MINUTE:10:HOUR:1:HOUR:2:0:%H:%M \ -y 5:2 \ --right-axis 1:0 --right-axis-format "%3.0lf" \ --legend-position east \ --units-exponent 0 --lower-limit 0 --upper-limit 100 --rigid \ DEF:a=$D/sensor-ursarium-rh.rrd:rh:AVERAGE 'LINE1:a#cc0000:Ursarium'