Module: check_mk
Branch: master
Commit: 3648c2ac130c1c79309d95999c443fbcdf138d6f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3648c2ac130c1c…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Fri Mar 3 09:59:22 2017 +0100
ucd_mem: Fix wrong return type of SNMP scan function
Change-Id: I779bd54b658971d6e74ec35da46fa2362f7ea75e
---
checks/ucd_mem | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/ucd_mem b/checks/ucd_mem
index 905c8b0..75bd758 100644
--- a/checks/ucd_mem
+++ b/checks/ucd_mem
@@ -59,8 +59,8 @@ check_info['ucd_mem'] = {
"6", # memAvailable -> kB
]),
'snmp_scan_function' : lambda oid: \
- "pfsense" in
oid(".1.3.6.1.2.1.1.1.0").lower() or
- prefer_hr_scan_function,
+ "pfsense" in
oid(".1.3.6.1.2.1.1.1.0").lower() or
+ prefer_hr_scan_function(oid),
'default_levels_variable' : 'ucd_mem_default_levels',
'group' : 'memory_simple',
'includes' : [ "ucd.include",
"memory.include" ],