Module: check_mk
Branch: master
Commit: 41db0b009565c9922cc995f3a6afd81a09f5bca8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=41db0b009565c9…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Jan 11 11:38:33 2017 +0100
4266 FIX quantum_libsmall_status: fixed scan function
Change-Id: Idd82d75631ce6d10d3250a5a469816da20e78f0e
---
.werks/4266 | 10 ++++++++++
ChangeLog | 1 +
checks/quantum_libsmall_status | 4 ++--
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/.werks/4266 b/.werks/4266
new file mode 100644
index 0000000..79a2621
--- /dev/null
+++ b/.werks/4266
@@ -0,0 +1,10 @@
+Title: quantum_libsmall_status: fixed scan function
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i4
+Date: 1484131089
+
+
diff --git a/ChangeLog b/ChangeLog
index 178cf3a..3027fe9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -37,6 +37,7 @@
* 4264 FIX: wmic_process: fixed invalid info handling
* 4211 FIX: esx_vsphere_counters: No longer crash when counters are available for
instances without a read value
* 4265 FIX: netapp_api_cpu: fixed missing number of cpus
+ * 4266 FIX: quantum_libsmall_status: fixed scan function
Multisite:
* 4169 View action: Default values of sticky, notification and persistent options can
now be configured via global settings....
diff --git a/checks/quantum_libsmall_status b/checks/quantum_libsmall_status
index 2d0e769..68972e9 100644
--- a/checks/quantum_libsmall_status
+++ b/checks/quantum_libsmall_status
@@ -73,7 +73,7 @@ check_info['quantum_libsmall_status'] = {
OID_END,
"10",
]),
- "snmp_scan_function" : lambda oid: "linux" in
oid(".1.3.6.1.2.1.1.1.0").lower() \
- and "library" in
oid(".1.3.6.1.2.1.1.6.0").lower(),
+ "snmp_scan_function" : lambda oid: "linux" in
oid(".1.3.6.1.2.1.1.1.0", "").lower() \
+ and "library" in
oid(".1.3.6.1.2.1.1.6.0", "").lower(),
}