[checkmk-commits] Check_MK Git: check_mk: #1144 FIX blade_bx_temp, dell_chassis_temp, emerson_temp, ibm_svc_enclosurestats, ups_bat_temp:

Mathias Kettner mk at mathias-kettner.de
Wed Aug 20 17:28:28 CEST 2014


  rename service description
Message-ID: <53f4be9c.Wpndd3oelJFOpXth%mk at mathias-kettner.de>
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Wed Aug 20 17:28:20 2014 +0200

#1144 FIX blade_bx_temp, dell_chassis_temp, emerson_temp, ibm_svc_enclosurestats, ups_bat_temp: rename service description

Rename service description of these checks. They now all begin with <tt>Temperature</tt>, such as
is custom for all Check_MK checks. Beware: new graphs will be created. If these services are target
of WATO or BI rules you might need to adjust them. Your WATO configuration for levels should work
without change.

---

 .werks/1144                   |   12 ++++++++++++
 ChangeLog                     |    2 ++
 checks/blade_bx_temp          |    2 +-
 checks/dell_chassis_temp      |    2 +-
 checks/emerson_temp           |    2 +-
 checks/ibm_svc_enclosurestats |    2 +-
 checks/ups_bat_temp           |    2 +-
 7 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/.werks/1144 b/.werks/1144
new file mode 100644
index 0000000..75e5834
--- /dev/null
+++ b/.werks/1144
@@ -0,0 +1,12 @@
+Title: blade_bx_temp, dell_chassis_temp, emerson_temp, ibm_svc_enclosurestats, ups_bat_temp: rename service description
+Level: 2
+Component: checks
+Compatible: incomp
+Version: 1.2.5i6
+Date: 1408548365
+Class: fix
+
+Rename service description of these checks. They now all begin with <tt>Temperature</tt>, such as
+is custom for all Check_MK checks. Beware: new graphs will be created. If these services are target
+of WATO or BI rules you might need to adjust them. Your WATO configuration for levels should work
+without change.
diff --git a/ChangeLog b/ChangeLog
index 50429df..5fc97a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -43,6 +43,8 @@
     * 1009 FIX: df: deal with space in file system type for PlayStation file system...
     * 1098 FIX: esx_vsphere_counters.diskio: Now reports unknown when counter data is missing
     * 1143 FIX: dell_powerconnect_temp: fix configuration via WATO...
+    * 1144 FIX: blade_bx_temp, dell_chassis_temp, emerson_temp, ibm_svc_enclosurestats, ups_bat_temp: rename service description...
+            NOTE: Please refer to the migration notes!
 
     Multisite:
     * 1066 Implemented Dashboard Designer...
diff --git a/checks/blade_bx_temp b/checks/blade_bx_temp
index 72a0a97..13d2244 100644
--- a/checks/blade_bx_temp
+++ b/checks/blade_bx_temp
@@ -63,7 +63,7 @@ def check_blade_bx_temp(item, params, info):
 check_info['blade_bx_temp'] = {
     "check_function" : check_blade_bx_temp,
     "inventory_function" : lambda info: [ (line[2], None) for line in info if int(line[1]) != 7] ,
-    "service_description" : "Blade Temp %s",
+    "service_description" : "Temperature Blade %s",
     "has_perfdata" : True,
     "snmp_info" : (".1.3.6.1.4.1.7244.1.1.1.3.4.1.1", [
                                                       1, # index
diff --git a/checks/dell_chassis_temp b/checks/dell_chassis_temp
index 35a0be0..0185555 100644
--- a/checks/dell_chassis_temp
+++ b/checks/dell_chassis_temp
@@ -67,7 +67,7 @@ def check_dell_chassis_temp(item, params, info):
 check_info["dell_chassis_temp"] = {
     "check_function"        : check_dell_chassis_temp,
     "inventory_function"    : inventory_dell_chassis_temp,
-    "service_description"   : "%s Temperature",
+    "service_description"   : "Temperature %s",
     "has_perfdata"          : True,
     "group"                 : "hw_temperature",
     "snmp_info"             : ( ".1.3.6.1.4.1.674.10892.2.3.1", [
diff --git a/checks/emerson_temp b/checks/emerson_temp
index a31f017..355057c 100644
--- a/checks/emerson_temp
+++ b/checks/emerson_temp
@@ -60,7 +60,7 @@ def check_emerson_temp(item, params, info):
 check_info['emerson_temp'] = {
   "inventory_function"  : inventory_emerson_temp,
   "check_function"      : check_emerson_temp,
-  "service_description" : "Temperature",
+  "service_description" : "Temperature %s",
   "has_perfdata"        : True,
   "group"               : "hw_temperature",
   "snmp_info"           : ( ".1.3.6.1.4.1.6302.2.1.2", ["7"] ),
diff --git a/checks/ibm_svc_enclosurestats b/checks/ibm_svc_enclosurestats
index 4483a54..6b2f72f 100644
--- a/checks/ibm_svc_enclosurestats
+++ b/checks/ibm_svc_enclosurestats
@@ -78,7 +78,7 @@ def check_ibm_svc_enclosurestats_temp(item, params, info):
 check_info["ibm_svc_enclosurestats.temp"] = {
     "check_function"        : check_ibm_svc_enclosurestats_temp,
     "inventory_function"    : inventory_ibm_svc_enclosurestats_temp,
-    "service_description"   : "IBM SVC Temperature Enclosure %s",
+    "service_description"   : "Temperature Enclosure %s",
     "has_perfdata"          : True,
     "group"                 : "hw_temperature",
 }
diff --git a/checks/ups_bat_temp b/checks/ups_bat_temp
index 068c320..044b818 100644
--- a/checks/ups_bat_temp
+++ b/checks/ups_bat_temp
@@ -52,7 +52,7 @@ def check_ups_bat_temp(item, params, info):
 check_info['ups_bat_temp'] = {
   "inventory_function"  : inventory_ups_bat_temp,
   "check_function"      : check_ups_bat_temp,
-  "service_description" : "Temperature Battery",
+  "service_description" : "Temperature Battery %s",
   "has_perfdata"        : True,
   "group"               : "hw_temperature",
   "snmp_info"           : ( ".1.3.6.1.2.1.33.1", ["1.5", "2.7" ] ),



More information about the checkmk-commits mailing list