]> mj.ucw.cz Git - arexx.git/commitdiff
Web scripts: sensor renames
authorMartin Mares <mj@ucw.cz>
Sat, 14 Jan 2012 10:04:34 +0000 (11:04 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 14 Jan 2012 10:04:34 +0000 (11:04 +0100)
web/rh-12h.cgi
web/rh-48h.cgi
web/rh-month.cgi
web/temp-12h.cgi
web/temp-48h.cgi
web/temp-month.cgi
web/temp-quick.cgi

index ece763fa7fd84478f67ade5cf464456981527410..c70bb8fab60583891a0fc686269f3c3df3097a30 100755 (executable)
@@ -12,4 +12,4 @@ exec rrdtool graph - \
        --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-19247.rrd:rh:AVERAGE 'LINE1:a#cc0000:Catarium'
+       DEF:a=$D/sensor-catarium-rh.rrd:rh:AVERAGE 'LINE1:a#cc0000:Catarium'
index bfc4be3ac26f588a6e38e02f8b70e24630d0749e..8c8999b05163dcf6414d273ef400b0b8c8114b53 100755 (executable)
@@ -12,4 +12,4 @@ exec rrdtool graph - \
        --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-19247.rrd:rh:AVERAGE 'LINE1:a#cc0000:Catarium'
+       DEF:a=$D/sensor-catarium-rh.rrd:rh:AVERAGE 'LINE1:a#cc0000:Catarium'
index ced298cee4a5d89d736585a5794db7da182e9c67..49afbe11bc81a0508ba22e5fc05c295b73d88af4 100755 (executable)
@@ -12,5 +12,5 @@ exec rrdtool graph - \
        --right-axis 1:0 --right-axis-format "%3.0lf" \
        --legend-position east \
        --units-exponent 0 --lower-limit 0 --upper-limit 100 --rigid \
-       DEF:alo=$D/sensor-19247.rrd:rh:MIN 'LINE1:alo#cc0000:Catarium' \
-       DEF:ahi=$D/sensor-19247.rrd:rh:MAX 'LINE1:ahi#cc0000'
+       DEF:alo=$D/sensor-catarium-rh.rrd:rh:MIN 'LINE1:alo#cc0000:Catarium' \
+       DEF:ahi=$D/sensor-catarium-rh.rrd:rh:MAX 'LINE1:ahi#cc0000'
index 013461ee4ab3af48540943157804c5c4d13024c2..9bfbfcbca8cef5937dbe1da002b16cf43e292cf9 100755 (executable)
@@ -12,6 +12,6 @@ exec rrdtool graph - \
        --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'
+       DEF:a=$D/sensor-ursarium.rrd:temp:AVERAGE 'LINE1:a#0000cc:Ursarium\n' \
+       DEF:b=$D/sensor-balcony.rrd:temp:AVERAGE 'LINE1:b#00cc00:Balcony\n' \
+       DEF:c=$D/sensor-catarium.rrd:temp:AVERAGE 'LINE1:c#cc0000:Catarium'
index a67deca2803958a8bc5d34a4de475a1f777ba7a7..dd0b1886abb20665ca94ba257f05044b4dcb73f6 100755 (executable)
@@ -12,6 +12,6 @@ exec rrdtool graph - \
        --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'
+       DEF:a=$D/sensor-ursarium.rrd:temp:AVERAGE 'LINE1:a#0000cc:Ursarium\n' \
+       DEF:b=$D/sensor-balcony.rrd:temp:AVERAGE 'LINE1:b#00cc00:Balcony\n' \
+       DEF:c=$D/sensor-catarium.rrd:temp:AVERAGE 'LINE1:c#cc0000:Catarium'
index 46ab4e67eb6013302aa09672798d2a4e3f3b5332..07b82893a3d9a87ea897dfe89973952b9c011e09 100755 (executable)
@@ -12,9 +12,9 @@ exec rrdtool graph - \
        --right-axis 1:0 --right-axis-format "%3.0lf" \
        --units-exponent 0 --lower-limit -20 --upper-limit 40 --rigid \
        --legend-position east \
-       DEF:alo=$D/sensor-10415.rrd:temp:MIN 'LINE1:alo#0000cc:Ursarium\n' \
-       DEF:ahi=$D/sensor-10415.rrd:temp:MAX 'LINE1:ahi#0000cc' \
-       DEF:blo=$D/sensor-12133.rrd:temp:MIN 'LINE1:blo#00cc00:Balcony\n' \
-       DEF:bhi=$D/sensor-12133.rrd:temp:MAX 'LINE1:bhi#00cc00' \
-       DEF:clo=$D/sensor-19246.rrd:temp:MIN 'LINE1:clo#cc0000:Catarium' \
-       DEF:chi=$D/sensor-19246.rrd:temp:MAX 'LINE1:chi#cc0000'
+       DEF:alo=$D/sensor-ursarium.rrd:temp:MIN 'LINE1:alo#0000cc:Ursarium\n' \
+       DEF:ahi=$D/sensor-ursarium.rrd:temp:MAX 'LINE1:ahi#0000cc' \
+       DEF:blo=$D/sensor-balcony.rrd:temp:MIN 'LINE1:blo#00cc00:Balcony\n' \
+       DEF:bhi=$D/sensor-balcony.rrd:temp:MAX 'LINE1:bhi#00cc00' \
+       DEF:clo=$D/sensor-catarium.rrd:temp:MIN 'LINE1:clo#cc0000:Catarium' \
+       DEF:chi=$D/sensor-catarium.rrd:temp:MAX 'LINE1:chi#cc0000'
index 1ee67ea09b0494454643fed69309e0366e9ab1ac..ed2f930ce61616d1c7ab210ab903ed1560a5a9cb 100755 (executable)
@@ -12,6 +12,6 @@ exec rrdtool graph - \
        --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'
+       DEF:a=$D/sensor-ursarium.rrd:temp:AVERAGE 'LINE1:a#0000cc:Ursarium\n' \
+       DEF:b=$D/sensor-balcony.rrd:temp:AVERAGE 'LINE1:b#00cc00:Balcony\n' \
+       DEF:c=$D/sensor-catarium.rrd:temp:AVERAGE 'LINE1:c#cc0000:Catarium'