#!/bin/sh echo "Content-type: image/png" echo D=/var/log/arexxd exec rrdtool graph - \ --start 'now-2h' \ --end 'now' \ --title "Temperature" \ -w 360 -h 200 \ -x MINUTE:10:MINUTE:30:MINUTE:30:0:%H:%M \ -y 5:1 \ --right-axis 1:0 --right-axis-format "%3.0lf" \ --units-exponent 0 --lower-limit -20 --upper-limit 40 --rigid \ --legend-position east \ DEF:a=$D/sensor-10415.rrd:temp:AVERAGE 'LINE1:a#0000cc:Ursarium\n' \ DEF:b=$D/sensor-12133.rrd:temp:AVERAGE 'LINE1:b#00cc00:Balcony\n' \ DEF:c=$D/sensor-19246.rrd:temp:AVERAGE 'LINE1:c#cc0000:Catarium'