Module: check_mk
Branch: master
Commit: dce3f747e86ddc724e13696f7bc4d74f7045e2ae
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dce3f747e86ddc…
Author: Götz Golla <gg(a)mathias-kettner.de>
Date: Thu Apr 10 10:32:16 2014 +0200
syntax fix
---
checks/rmon_stats | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/rmon_stats b/checks/rmon_stats
index 9f7f3ef..f779be1 100644
--- a/checks/rmon_stats
+++ b/checks/rmon_stats
@@ -74,6 +74,6 @@ check_info["rmon_stats"] = {
# for the scan we need to check for any single object in the RMON tree,
# we choose netDefaultGateway in the hope that it will always be present
'snmp_scan_function' : lambda oid: (
oid(".1.3.6.1.2.1.1.1.0").lower().startswith("cisco") \
- or oid(".1.3.6.1.2.1.1.1.0").startswith("10G Managed
Switch)" ) \
+ or oid(".1.3.6.1.2.1.1.1.0").startswith("10G Managed
Switch") ) \
and oid(".1.3.6.1.2.1.16.19.12.0") != None,
}