Module: check_mk
Branch: master
Commit: b37fd1eaa0a025f6dab27509a1a4d6a6a70ed891
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b37fd1eaa0a025…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Oct 18 22:06:47 2013 -0400
FIX: ups_bat_temp: renamed service description to "Temperature Battery"
in order to make it consistent with the other temperature checks
---
.bugs/1000 | 7 +++++--
ChangeLog | 2 ++
checks/ups_bat_temp | 2 +-
3 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/.bugs/1000 b/.bugs/1000
index a6c8a9f..86d99c3 100644
--- a/.bugs/1000
+++ b/.bugs/1000
@@ -1,9 +1,12 @@
Title: check ups_bat_temp uses upsIdentName as item name
Component: checks
-State: open
+Class: nastiness
+State: wontfix
Date: 2013-08-22 12:07:41
Targetversion: future
-Class: nastiness
it doesnt make sense to use an item for this test, but removing it would break existing
rules
in group hw_temperature
+
+2013-10-18 22:04:11: changed state open -> wontfix
+Exactly. That would make the check incompatible.
diff --git a/ChangeLog b/ChangeLog
index a371920..dd61bf5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -60,6 +60,8 @@
* FIX: ps: do not output perfdata of CPU averaging (use ps.perf for that)
* FIX: nfsexports: also support systems with rpcbind instead of portmap
* FIX: ups_in_freq: corrected spelling of service description
+ * FIX: ups_bat_temp: renamed service description to "Temperature Battery",
+ in order to make it consistent with the other temperature checks
WATO:
* You can now have site-specific global settings when using
diff --git a/checks/ups_bat_temp b/checks/ups_bat_temp
index 022536c..6e84317 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" : "Battery Temp",
+ "service_description" : "Temperature Battery",
"has_perfdata" : True,
"group" : "hw_temperature",
"snmp_info" : ( ".1.3.6.1.2.1.33.1", ["1.5",
"2.7" ] ),