Module: check_mk
Branch: master
Commit: e9f7ed4433681d1fc34420d860a7ffbd794cf601
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e9f7ed4433681d…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Jan 7 15:36:04 2016 +0100
#1320 FIX fjdarye60_sum: Fixed bug in discovery function
---
.werks/1320 | 9 +++++++++
ChangeLog | 3 ++-
checks/fjdarye60_sum | 2 +-
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.werks/1320 b/.werks/1320
new file mode 100644
index 0000000..f20ae37
--- /dev/null
+++ b/.werks/1320
@@ -0,0 +1,9 @@
+Title: fjdarye60_sum: Fixed bug in discovery function
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i4
+Date: 1452177343
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index d8dcd8c..4cb4f74 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -70,11 +70,11 @@
* 2817 cmc_temp: New temperature check for Rittal devices using the CMC MIB
* 1600 check_mk_agent.linux: Diskstat Sektion now supports s390 DASDs (zLinux on IBM
Mainframes)
* 1318 cisco_asa_svcsessions: New Check to monitor VPN Connections on Cisco ASA
devices
- * 1319 blade_bx_powerfan: Check can now be configured using Wato
* 2886 solaris_fmadm: new check monitors the severity and name of the fault class on
Solaris systems using the 'fmadm faulty' command
* 2871 msexch_database: New check to monitor access latencies to MS Exchange
Databases
* 2872 supermicro, supermicro.sensors: New check to monitor health on snmp-enabled
devices by supermicro
* 2913 fortigate_node, fortigate_node.cpu, fortigate_node.memory,
fortigate_node.sessions: New checks to monitor HA nodes of fortigate firewalls
+ * 1319 blade_bx_powerfan: Check can now be configured using Wato
* 2660 FIX: fixed windows agent using the wrong working directory...
* 2664 FIX: ps: Speedup in situation with many matching processes...
* 2661 FIX: windows agent: fixed incomplete process list...
@@ -171,6 +171,7 @@
* 2820 FIX: winperf_phydisk: fixed invalid performance data for read/write ios
* 2887 FIX: docsis_channels_downstream: now handles correct the downstream power in
dBmV
* 2914 FIX: hr_cpu: fixed check not being applied on some systems...
+ * 1320 FIX: fjdarye60_sum: Fixed bug in discovery function
Multisite:
* 2684 Added icons for downloading agent data / walks of hosts...
diff --git a/checks/fjdarye60_sum b/checks/fjdarye60_sum
index dcd3908..1b3b6bc 100644
--- a/checks/fjdarye60_sum
+++ b/checks/fjdarye60_sum
@@ -28,7 +28,7 @@ fjdarye60_sum_status = { 1: 'unknown', 2: 'unused', 3:
'ok',
4: 'warning', 5: 'failed' }
def inventory_fjdarye60_sum(info):
- return [ (int(index), '', None) for index, status in info ]
+ return [ (int(index), '', None) for index, status in info if index !=
'' ]
def check_fjdarye60_sum(index, _no_param, info):