Module: check_mk
Branch: master
Commit: 18e476145a8652b7a5fc7412c7f80a9eddedba36
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=18e476145a8652…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Fri Aug 10 13:31:50 2012 +0200
Added missing snmp scan function
---
checks/masterguard_bat_temp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/checks/masterguard_bat_temp b/checks/masterguard_bat_temp
index 8dd5b7b..4a3b779 100644
--- a/checks/masterguard_bat_temp
+++ b/checks/masterguard_bat_temp
@@ -52,5 +52,6 @@ check_info['masterguard_bat_temp'] = {
"service_description" : "Battery Temp",
"has_perfdata" : True,
"group" : "hw_temperature",
- "snmp_info" : ( ".1.3.6.1.2.1.33.1", ["1.5",
"2.7" ] )
+ "snmp_info" : ( ".1.3.6.1.2.1.33.1", ["1.5",
"2.7" ] ),
+ "snmp_scan_function" : lambda oid: "masterguard" in
oid('.1.3.6.1.2.1.1.1.0').lower(),
}