#!/bin/sh echo "Content-type: image/png" echo D=/var/log/arexxd exec rrdtool graph - \ --start 'now-48h' \ --end 'now' \ --title "Relative Humidity: Last 2 days" \ -w 720 -h 600 \ -x HOUR:1:HOUR:8:HOUR:8: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-catarium-rh.rrd:rh:AVERAGE 'LINE1:a#cc0000:Catarium'