Module: check_mk
Branch: master
Commit: 101b8978944454ae765e2fcf9c9d3c022832d7c7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=101b8978944454…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Sep 13 11:06:39 2018 +0200
snmp_uptime: Minor cleanup
Change-Id: Iab8ae3eb6bf1681b0907e892aa2e796bc2257d8a
---
checks/snmp_info | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/snmp_info b/checks/snmp_info
index ce9e66b..4b0a627 100644
--- a/checks/snmp_info
+++ b/checks/snmp_info
@@ -42,5 +42,5 @@ check_info["snmp_info"] = {
'inventory_function': inventory_snmp_info,
'service_description': 'SNMP Info',
'snmp_info': ('.1.3.6.1.2.1.1', ['1.0',
'4.0', '5.0', '6.0']),
- 'snmp_scan_function': lambda oid: oid(".1.3.6.1.2.1.1.1.0") !=
None,
+ 'snmp_scan_function': lambda oid: oid(".1.3.6.1.2.1.1.1.0") is
not None,
}