Module: check_mk
Branch: master
Commit: 2b5c798e1a55d3d73a95a08127e65848ca95b7f6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2b5c798e1a55d3…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Apr 13 12:10:56 2017 +0200
4587 FIX juniper_trpz_aps, juniper_trpz_aps_sessions: Fixed missing OID for WLC800R
series
Change-Id: I7e99e733b9a11f4d66c32fc4fca55415e2be997a
---
.werks/4587 | 11 +++++++++++
checks/juniper_trpz_aps | 3 ++-
checks/juniper_trpz_aps_sessions | 3 ++-
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/.werks/4587 b/.werks/4587
new file mode 100644
index 0000000..b9e19dc
--- /dev/null
+++ b/.werks/4587
@@ -0,0 +1,11 @@
+Title: juniper_trpz_aps, juniper_trpz_aps_sessions: Fixed missing OID for WLC800R series
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1492078119
+
+
diff --git a/checks/juniper_trpz_aps b/checks/juniper_trpz_aps
index 6367fa0..79b6b73 100644
--- a/checks/juniper_trpz_aps
+++ b/checks/juniper_trpz_aps
@@ -60,7 +60,8 @@ check_info["juniper_trpz_aps"] = {
"service_description" : "Access Points",
"node_info" : True,
"has_perfdata" : True,
- "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.14525.3.1"),
+ "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.14525.3.1") or \
+
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.14525.3.3"),
"snmp_info" : (".1.3.6.1.4.1.14525.4", [
"5.1.1.1", # number of active access
points
"4.1.1.4", # number of sessions on active
access points
diff --git a/checks/juniper_trpz_aps_sessions b/checks/juniper_trpz_aps_sessions
index 31e179d..5ae813c 100644
--- a/checks/juniper_trpz_aps_sessions
+++ b/checks/juniper_trpz_aps_sessions
@@ -178,7 +178,8 @@ check_info["juniper_trpz_aps_sessions"] = {
"service_description" : "Access Point %s",
"has_perfdata" : True,
"node_info" : True,
- "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.14525.3.1"),
+ "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.14525.3.1") or \
+
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.14525.3.3"),
"snmp_info" : [
( ".1.3.6.1.4.1.14525.4.5.1.1.2.1", [
OID_END,