Module: check_mk
Branch: master
Commit: dbee4153c0441d24497158a25d9834ac8df5e556
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dbee4153c0441d…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Mar 3 13:20:21 2015 +0100
#2087 FIX netapp_api_temp: Fixed exception when dealing with old discovered checks
When services have been discovered with old versions, the discovered parameters
were None, which lead to an exception with the current check during checking.
Handling this kind of data now for compatiblity reasons.
---
.werks/2087 | 12 ++++++++++++
ChangeLog | 1 +
werk | 2 +-
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/.werks/2087 b/.werks/2087
new file mode 100644
index 0000000..b09ac1f
--- /dev/null
+++ b/.werks/2087
@@ -0,0 +1,12 @@
+Title: netapp_api_temp: Fixed exception when dealing with old discovered checks
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1425385145
+
+When services have been discovered with old versions, the discovered parameters
+were None, which lead to an exception with the current check during checking.
+Handling this kind of data now for compatiblity reasons.
diff --git a/ChangeLog b/ChangeLog
index 26f5198..2cd6e6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -217,6 +217,7 @@
* 2049 FIX: window agents: prevent errors with invalid plugin output...
* 2050 FIX: netapp_api_if: Fixed invalid speed warning for virtual interface
groups...
* 2086 FIX: apc_ats_status: Fixed exception when source different than selected
source
+ * 2087 FIX: netapp_api_temp: Fixed exception when dealing with old discovered
checks...
Multisite:
* 1758 Improved exception hander: Shows details without additional debug request,
added mailto link for error report...
diff --git a/werk b/werk
index 0865e04..4225adc 100755
--- a/werk
+++ b/werk
@@ -109,7 +109,7 @@ def parse_changelog():
global g_current_version
ch = file("../ChangeLog")
version = ch.readline().strip().rstrip(":")
- if len(version) not in [ 6, 7, 8, 9, 10 ] or \
+ if len(version) not in [ 5, 6, 7, 8, 9, 10 ] or \
not version[0].isdigit() or \
version[1] != '.':
bail_out("Invalid version number '%s' in ChangeLog" % version)