Module: check_mk
Branch: master
Commit: ff3a7b620528a7916ed02c8886127e7e96c5e6ea
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ff3a7b620528a7…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Tue Feb 2 09:45:56 2016 +0100
#3064 FIX netscaler_health: no longer discovers non-running fans (i.e. in virtual
appliances)
---
.werks/3064 | 9 +++++++++
ChangeLog | 1 +
checks/netscaler_health | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/3064 b/.werks/3064
new file mode 100644
index 0000000..08a2778
--- /dev/null
+++ b/.werks/3064
@@ -0,0 +1,9 @@
+Title: netscaler_health: no longer discovers non-running fans (i.e. in virtual
appliances)
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i4
+Date: 1454402678
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 7454dc6..a3ad808 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -238,6 +238,7 @@
* 2942 FIX: juniper_cpu_util: new check replaces juniper_cpu which was reporting
incorrect values...
NOTE: Please refer to the migration notes!
* 3063 FIX: mcaffee_av_client: plugin didn't work with 32-bit av software
installed on 64-bit system
+ * 3064 FIX: netscaler_health: no longer discovers non-running fans (i.e. in virtual
appliances)
Multisite:
* 2684 Added icons for downloading agent data / walks of hosts...
diff --git a/checks/netscaler_health b/checks/netscaler_health
index 6f8e653..570c8fb 100644
--- a/checks/netscaler_health
+++ b/checks/netscaler_health
@@ -68,7 +68,7 @@ factory_settings["netscaler_health_fan_default_levels"] = {
def inventory_netscaler_health_fan(info):
for name, value in info:
- if name.endswith("Speed"):
+ if name.endswith("Speed") and value != "0":
yield name[:-5], {}
def check_netscaler_health_fan(item, params, info):