[checkmk-commits] Check_MK Git: check_mk: Added comment

Konstantin Büttner kb at mathias-kettner.de
Tue Feb 24 16:39:45 CET 2015

Module: check_mk
Branch: master
Commit: c0ddbc2a2b0a2c144c88173f768c5cfe184fc931
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c0ddbc2a2b0a2c144c88173f768c5cfe184fc931

Author: Konstantin Büttner <kb at 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):

More information about the checkmk-commits mailing list