Module: check_mk
Branch: master
Commit: 2a17bf4af965b72f2d9760b2cb4c54913e893dc1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2a17bf4af965b7…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Dec 4 13:39:15 2014 +0100
#1631 juniper_bgp_state: check now detects and supports more differen device models
It would only detect MX5, but now works also for other devices. Thanks to Konstantin
Orlov.
---
.werks/1631 | 9 +++++++++
ChangeLog | 1 +
checks/juniper_bgp_state | 2 +-
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/.werks/1631 b/.werks/1631
new file mode 100644
index 0000000..8591a72
--- /dev/null
+++ b/.werks/1631
@@ -0,0 +1,9 @@
+Title: juniper_bgp_state: check now detects and supports more differen device models
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.5i7
+Date: 1417696679
+Class: feature
+
+It would only detect MX5, but now works also for other devices. Thanks to Konstantin
Orlov.
diff --git a/ChangeLog b/ChangeLog
index 5dee200..1491ad2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -50,6 +50,7 @@
* 1627 megaraid_ldisks: Warn if current cache or write policy differs from logical
drive default policy...
* 1629 check_mk_agent.freebsd: several new features and improvements, now only use
statgrab...
* 1630 smart: update in plugin that also outputs information about disks attached to
a MegaRAID controller...
+ * 1631 juniper_bgp_state: check now detects and supports more differen device
models...
* 1478 FIX: kernel.util, statgrab_cpu: fix computation of utilization...
* 1480 FIX: brocade_vdx_status: disable check on some devices that do not support
it...
* 1485 FIX: dell_om_disks, dell_om_esmlog, dell_om_mem, dell_om_processors,
dell_om_sensors: detect more devices...
diff --git a/checks/juniper_bgp_state b/checks/juniper_bgp_state
index a6f4fce..4c6d030 100644
--- a/checks/juniper_bgp_state
+++ b/checks/juniper_bgp_state
@@ -77,6 +77,6 @@ check_info["juniper_bgp_state"] = {
2, #
jnxBgpM2PeerState
3 ]), #
jnxBgpM2PeerStatus
# (like
operational status)
- "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.2636.1.1.1.2.90"),
+ "snmp_scan_function" : lambda oid:
oid(".1.3.6.1.2.1.1.2.0").startswith(".1.3.6.1.4.1.2636.1.1.1.2"),
"has_perfdata" : False,
}