[checkmk-commits] Check_MK Git: check_mk: Updated comment in code

Mathias Kettner mk at mathias-kettner.de
Tue Feb 3 11:46:45 CET 2015


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

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Mon Feb  2 10:42:30 2015 +0100

Updated comment in code

---

 web/htdocs/metrics.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/htdocs/metrics.py b/web/htdocs/metrics.py
index 5376571..35d8352 100644
--- a/web/htdocs/metrics.py
+++ b/web/htdocs/metrics.py
@@ -48,7 +48,7 @@ def load_plugins():
 # into floating point numbers, do scaling if neccessary.
 # Simple example for perf_data: [(u'temp', u'48', u'', u'70', u'80', u'', u'')]
 # Result for this example:
-# { "temp" : "value" : 48.0, "warn" : 70.0, "crit" : 80.0 }
+# { "temp" : "value" : 48.0, "warn" : 70.0, "crit" : 80.0, "unit" : { ... } }
 def translate_metrics(check_command, perf_data):
     if check_command not in check_metrics:
         return None



More information about the checkmk-commits mailing list