Module: check_mk
Branch: master
Commit: be0953f1c36e97b757083ba684950d081902907c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=be0953f1c36e97…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Jan 27 13:07:30 2014 +0100
FIX brocade_fcport: fixed problem on displaying check_parameters in WATO
The checks parameters stored in the autochecks file could not get processed and
displayed correctly by the WATO inventory.
---
.werks/269 | 11 +++++++++++
ChangeLog | 3 ++-
checks/brocade_fcport | 2 +-
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/.werks/269 b/.werks/269
new file mode 100644
index 0000000..adb42a5
--- /dev/null
+++ b/.werks/269
@@ -0,0 +1,11 @@
+Title: brocade_fcport: fixed problem on displaying check_parameters in WATO
+Level: 1
+Component: wato
+Class: fix
+State: unknown
+Version: 1.2.5i1
+Date: 1390824236
+
+The checks parameters stored in the autochecks file could not get processed and
+displayed correctly by the WATO inventory.
+
diff --git a/ChangeLog b/ChangeLog
index b0c4456..80da780 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -232,8 +232,9 @@
* 0434 FIX: Fixed wrong count of failed hosts in bulk inventory mode...
* 0678 FIX: Move two last global settings of Event Console to proper places
* 0268 FIX: wato inventory: fixed missing services...
- * 0129 FIX: Fixed permission bug in "Edit user profile" dialog....
* 0686 FIX: Fix replication with WATO if EC is enabled on master and disabled on
slave
+ * 0129 FIX: Fixed permission bug in "Edit user profile" dialog....
+ * 0269 FIX: brocade_fcport: fixed problem on displaying check_parameters in WATO...
Notifications:
* 0362 sms: now searching PATH for sendsms and smssend commands...
diff --git a/checks/brocade_fcport b/checks/brocade_fcport
index 42c5f77..40078c7 100644
--- a/checks/brocade_fcport
+++ b/checks/brocade_fcport
@@ -88,7 +88,7 @@ def inventory_brocade_fcport(info):
phystate in brocade_fcport_inventory_phystates:
inventory.append(( brocade_fcport_getitem(info[0], index, portname,
is_isl),
- '{ "phystate": %d, "opstate": %d,
"admstate": %d }'
+ '{ "phystate": [%d], "opstate": [%d],
"admstate": [%d] }'
% (phystate, opstate, admstate) ))
return inventory