sensor graphs for homepage
[svn42.git] / sensor_graph / sensor-temp.cgi
1 #!/usr/bin/rrdcgi
2 <HTML>
3 <BODY>
4 <RRD::GOODFOR 30>
5 <RRD::GRAPH ../temp0.png
6    --lazy --imginfo '<IMG SRC="/%s" WIDTH="%lu" HEIGHT="%lu" >'
7    --title="Temperatures"
8    DEF:cel=/home/sensortemp.rrd:temp:LAST
9    LINE2:cel#00a000:"D. Celsius">
10 </BODY>
11 </HTML>