Module: check_mk
Branch: master
Commit: ca6d0f1a854bb25c0235619781a5c99499e1a015
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ca6d0f1a854bb2…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Mar 6 14:11:21 2017 +0100
really fixed scan function of ucd_mem check plugin
Change-Id: Ieee6c072dd6fc4df439d06de6317e62761ab8346
---
checks/ucd_mem | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/checks/ucd_mem b/checks/ucd_mem
index 73e34f3..4cca376 100644
--- a/checks/ucd_mem
+++ b/checks/ucd_mem
@@ -58,9 +58,9 @@ check_info['ucd_mem'] = {
"5", # memTotal -> kB
"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,
+ 'snmp_scan_function' : lambda oid: \
+ "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" ],