aboutsummaryrefslogtreecommitdiff
path: root/pellematic-time
diff options
context:
space:
mode:
Diffstat (limited to 'pellematic-time')
-rwxr-xr-xpellematic-time10
1 files changed, 10 insertions, 0 deletions
diff --git a/pellematic-time b/pellematic-time
index 3ccdf05..c68e549 100755
--- a/pellematic-time
+++ b/pellematic-time
@@ -46,6 +46,14 @@ coefficient.type GAUGE
coefficient.draw LINE1
coefficient.warning 0.9
coefficient.critical 0.95
+
+ontime.label burner on hours
+ontime.type GAUGE
+ontime.graph no
+
+offtime.label burner off hours
+offtime.type GAUGE
+offtime.graph no
"""
def fetch_raw(url):
@@ -102,6 +110,8 @@ def fetch_values(url):
on = float(item['value'])
print "coefficient.value %f" % (on/off)
+ print "ontime.value %f" % on
+ print "offtime.value %f" % off