Module: check_mk
Branch: master
Commit: 99245a42ee01337d3285f062e038401910b434af
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=99245a42ee0133…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Dec 14 11:08:08 2016 +0100
4165 FIX tsm_stagingpools: fixed node info handling
Change-Id: I7d473d7e83b6c1a9f7f14fa96d348ca231e36809
---
.werks/4165 | 10 ++++++++++
ChangeLog | 1 +
checks/tsm_stagingpools | 3 ++-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/4165 b/.werks/4165
new file mode 100644
index 0000000..579af78
--- /dev/null
+++ b/.werks/4165
@@ -0,0 +1,10 @@
+Title: tsm_stagingpools: fixed node info handling
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i3
+Date: 1481710032
+
+
diff --git a/ChangeLog b/ChangeLog
index 4152334..9930fdf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -70,6 +70,7 @@
* 4178 FIX: apt: Fixed crash on unexpected output...
* 4179 FIX: oracle_dataguard_stats, oracle_longactivesessions, oracle_rman: fixed
crashes...
* 4180 FIX: fileinfo: Made paths for file grouping compatible for windows...
+ * 4165 FIX: tsm_stagingpools: fixed node info handling
Multisite:
* 4070 Added a painter for the service check period
diff --git a/checks/tsm_stagingpools b/checks/tsm_stagingpools
index a2cbf93..db613b5 100644
--- a/checks/tsm_stagingpools
+++ b/checks/tsm_stagingpools
@@ -76,7 +76,8 @@ def check_tsm_stagingpools(item, params, parsed):
datasets, nodeinfos = [], []
for node, data in parsed[item].items():
- nodeinfos.append(node)
+ if node is not None:
+ nodeinfos.append(node)
datasets.append( tuple(data) )
num_tapes = 0