Module: check_mk
Branch: master
Commit: 51086c61c8aa02c18746ff9a94bca084b57e7cb9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=51086c61c8aa02…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Feb 26 16:36:13 2015 +0100
#2023 FIX if_lancom: Handle point-2-point interfaces of newer firmwares correctly
---
.werks/2023 | 10 ++++++++++
ChangeLog | 1 +
checks/if_lancom | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/2023 b/.werks/2023
new file mode 100644
index 0000000..0e2803a
--- /dev/null
+++ b/.werks/2023
@@ -0,0 +1,10 @@
+Title: if_lancom: Handle point-2-point interfaces of newer firmwares correctly
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1424964951
+
+
diff --git a/ChangeLog b/ChangeLog
index 9ed9f5f..dfc67f4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -203,6 +203,7 @@
* 2021 FIX: if_lancom: Also used for checking ELSA/T-Systems branded devices
* 2022 FIX: SNMP: Fixed handling of backslashes in SNMP data...
NOTE: Please refer to the migration notes!
+ * 2023 FIX: if_lancom: Handle point-2-point interfaces of newer firmwares correctly
Multisite:
* 1758 Improved exception hander: Shows details without additional debug request,
added mailto link for error report...
diff --git a/checks/if_lancom b/checks/if_lancom
index 97dc890..3ebca9e 100644
--- a/checks/if_lancom
+++ b/checks/if_lancom
@@ -34,7 +34,7 @@ def if_lancom_convert(info):
ssid_dict = dict(ssidtab)
new_info = []
for line in iftab:
- if line[20].startswith("Point-2-Point"):
+ if line[20].startswith("P2P") or
line[20].startswith("Point-2-Point"):
continue
else:
ifName = line[1]