Module: check_mk
Branch: master
Commit: 551bdc7fbd85e46712849b8dea7f46eaf752fb5d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=551bdc7fbd85e4…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Wed Aug 9 12:22:03 2017 +0200
mkcheck: Set pre-defined SNMP scan function to lambda oid: True
Change-Id: I119087914f59de94fbac97dbc758df01f5be5e06
---
doc/helpers/mkcheck | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/helpers/mkcheck b/doc/helpers/mkcheck
index 2eaee33..900da29 100755
--- a/doc/helpers/mkcheck
+++ b/doc/helpers/mkcheck
@@ -94,7 +94,7 @@ def get_check_content(check_name, has_parse=False, is_snmp=False):
if is_snmp:
snmp_content = \
" 'snmp_info' : ('', []),\n" + \
- " 'snmp_scan_function' : lambda oid: False,\n"
+ " 'snmp_scan_function' : lambda oid: True,\n"
else:
snmp_content = ""