Module: check_mk
Branch: master
Commit: c0ddbc2a2b0a2c144c88173f768c5cfe184fc931
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c0ddbc2a2b0a2c…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Tue Feb 24 16:39:41 2015 +0100
Added comment
---
checks/temperature.include | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/checks/temperature.include b/checks/temperature.include
index 68177c3..a56c8f2 100644
--- a/checks/temperature.include
+++ b/checks/temperature.include
@@ -262,6 +262,12 @@ def check_temperature(reading, params, dev_unit = "c",
return status, infotext, perfdata
+# Wraps around check_temperature to check a list of sensors.
+# sensorlist is a list of tuples:
+# (subitem, temp, kwargs) or (subitem, temp)
+# where subitem is a string (sensor-id)
+# temp is a string, float or int temperature value
+# and kwargs a dict of keyword arguments for check_temperature
def check_temperature_list(sensorlist, params):