Module: check_mk
Branch: master
Commit: f726a6c7dbded904be7d6107ee7ffa1093c4495a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f726a6c7dbded9…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Wed Jul 6 16:23:07 2016 +0200
3555 FIX esx_vsphere_sensors: fixed incorrect default parameter during service discovery
This fixes an display only bug in the WATO service discovery page.
---
.werks/3555 | 10 ++++++++++
ChangeLog | 1 +
checks/esx_vsphere_sensors | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/3555 b/.werks/3555
new file mode 100644
index 0000000..086dcc5
--- /dev/null
+++ b/.werks/3555
@@ -0,0 +1,10 @@
+Title: esx_vsphere_sensors: fixed incorrect default parameter during service discovery
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.4.0i1
+Date: 1467814944
+Class: fix
+
+This fixes an display only bug in the WATO service discovery page.
+
diff --git a/ChangeLog b/ChangeLog
index c37e37c..82d13ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -299,6 +299,7 @@
* 3552 FIX: SNMPv3: Fixed login with security level noAuthNoPriv...
* 3694 FIX: fortigate_sessions_base: Added missing WATO rule
* 3153 FIX: windows agent: fixed two problems that could cause missing wmi
results...
+ * 3555 FIX: esx_vsphere_sensors: fixed incorrect default parameter during service
discovery...
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/checks/esx_vsphere_sensors b/checks/esx_vsphere_sensors
index 51e3b76..45a5be8 100644
--- a/checks/esx_vsphere_sensors
+++ b/checks/esx_vsphere_sensors
@@ -36,7 +36,7 @@
# Power Supply 2 Power Supply 2 0: Power Supply AC lost -
Assert;;0;power;0;;red;Red;Sensor is operating under critical conditions
def inventory_esx_vsphere_sensors(info):
- return [(None, None)]
+ return [(None, [])]
def check_esx_vsphere_sensors(_no_item, params, info):
state = 0