Module: check_mk
Branch: master
Commit: c032b6375b48f79d2b8a84f7f97dc607616595eb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c032b6375b48f7…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jun 29 11:45:08 2015 +0200
#2359 FIX adva_fsp_if: Use more reliable SNMP table, avoids sporadic problems
The check now uses <tt>opticalIfDiagOutputPower</tt> rather than
<tt>currentPmSnapshotOutputPower</tt>.
That fixes problems with disappearing interfaces. Thanks to Bernhard Schmidt.
---
.werks/2359 | 11 +++++++++++
ChangeLog | 1 +
checks/adva_fsp_if | 4 ++--
3 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/.werks/2359 b/.werks/2359
new file mode 100644
index 0000000..8219e32
--- /dev/null
+++ b/.werks/2359
@@ -0,0 +1,11 @@
+Title: adva_fsp_if: Use more reliable SNMP table, avoids sporadic problems
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i3
+Date: 1435571003
+
+The check now uses <tt>opticalIfDiagOutputPower</tt> rather than
<tt>currentPmSnapshotOutputPower</tt>.
+That fixes problems with disappearing interfaces. Thanks to Bernhard Schmidt.
diff --git a/ChangeLog b/ChangeLog
index ce8508b..634d4ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
* 2351 FIX: FreeBSD Agent: Made plugin/local paths standard conform...
NOTE: Please refer to the migration notes!
* 2352 FIX: FreeBSD Agent: Removed statgrab cpu section because there is a dedicated
cpu section...
+ * 2359 FIX: adva_fsp_if: Use more reliable SNMP table, avoids sporadic problems...
Multisite:
* 2314 FIX: Availability: fixed exception when grouping by host or service group
diff --git a/checks/adva_fsp_if b/checks/adva_fsp_if
index 4489065..a31c347 100644
--- a/checks/adva_fsp_if
+++ b/checks/adva_fsp_if
@@ -126,8 +126,8 @@ check_info['adva_fsp_if'] = {
"2.1.2.2.1.7", # ifAdminStatus
"2.1.2.2.1.8", # ifOperStatus
"31.1.1.1.18", # ifAlias
- "4.1.2544.1.11.2.6.2.156.1.1", #
currentPmSnapshotOutputPower
- "4.1.2544.1.11.2.6.2.156.1.2", #
currentPmSnapshotInputPower
+ "4.1.2544.1.11.2.4.3.5.1.4", #
opticalIfDiagOutputPower
+ "4.1.2544.1.11.2.4.3.5.1.3", #
opticalIfDiagInputPower
],
),
"snmp_scan_function" : lambda oid: