[checkmk-commits] Check_MK Git: check_mk: Added missing has_perfdata flag to some checks

Bastian Kuhn bk at mathias-kettner.de
Fri Aug 1 14:12:52 CEST 2014


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

Author: Bastian Kuhn <bk at mathias-kettner.de>
Date:   Fri Aug  1 14:12:42 2014 +0200

Added missing has_perfdata flag to some checks

---

 checks/docsis_channels_downstream |    1 +
 checks/docsis_signal_quality      |    3 ++-
 checks/knuerr_rms_humidity        |    1 +
 checks/knuerr_rms_temp            |    1 +
 4 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/checks/docsis_channels_downstream b/checks/docsis_channels_downstream
index 71ecba0..66c19f9 100644
--- a/checks/docsis_channels_downstream
+++ b/checks/docsis_channels_downstream
@@ -75,6 +75,7 @@ check_info["docsis_channels_downstream"] = {
     "check_function"          : check_docsis_channels_downstream,
     "inventory_function"      : inventory_docsis_channels_downstream,
     "service_description"     : "Channel Downstream %s",
+    "has_perfdata"            : True,
     "snmp_scan_function"      : docsis_scan_function, 
     "snmp_info"               : ( ".1.3.6.1.2.1.10.127.1.1.1.1", [  1, # Channel ID
                                                                     2, # Frequency 
diff --git a/checks/docsis_signal_quality b/checks/docsis_signal_quality
index 6937c4e..7a9dfac 100644
--- a/checks/docsis_signal_quality
+++ b/checks/docsis_signal_quality
@@ -82,8 +82,9 @@ def check_docsis_signal_quality( item, params, info):
 check_info["docsis_signal_quality"] = {
     "check_function"          : check_docsis_signal_quality,
     "inventory_function"      : inventory_docsis_signal_quality,
-    "service_description"     : "FEC",
+    "service_description"     : "Signal Quality %s",
     "snmp_scan_function"      : docsis_scan_function, 
+    "has_perfdata"            : True,
     "snmp_info"               : ( ".1.3.6.1.2.1.10.127.1.1.4.1", [  
                                                                     OID_END,
                                                                     2, #docsIfSigQUnerroreds
diff --git a/checks/knuerr_rms_humidity b/checks/knuerr_rms_humidity
index 0a8b7f0..c0a8af4 100644
--- a/checks/knuerr_rms_humidity
+++ b/checks/knuerr_rms_humidity
@@ -48,6 +48,7 @@ check_info["knuerr_rms_humidity"] = {
     "check_function"        : check_knuerr_rms_humidity,
     "inventory_function"    : inventory_knuerr_rms_humidity,
     "service_description"   : "Humidity",
+    "has_perfdata"          : True,
     "snmp_scan_function"    : lambda oid: oid(".1.3.6.1.2.1.1.2.0") == ".1.3.6.1.4.1.3711.15.1",
     "snmp_info"             : ( ".1.3.6.1.4.1.3711.15.1.1.1.2" , [ 2 , 4 ]),
     "group"                 : "single_humidity"
diff --git a/checks/knuerr_rms_temp b/checks/knuerr_rms_temp
index 13c773d..19d3d67 100644
--- a/checks/knuerr_rms_temp
+++ b/checks/knuerr_rms_temp
@@ -48,6 +48,7 @@ check_info["knuerr_rms_temp"] = {
     "check_function"        : check_knuerr_rms_temp,
     "inventory_function"    : inventory_knuerr_rms_temp,
     "service_description"   : "Temperature",
+    "has_perfdata"          : True,
     "snmp_scan_function"    : lambda oid: oid(".1.3.6.1.2.1.1.2.0") == ".1.3.6.1.4.1.3711.15.1",
     "snmp_info"             : ( ".1.3.6.1.4.1.3711.15.1.1.1.1" , [ 2 , 4 ]),
     "group"                 : "hw_single_temperature"



More information about the checkmk-commits mailing list