Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit f4ab8241 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent 82bb4d84
No related branches found
No related tags found
No related merge requests found
[PACKAGE]: ../../raw/master/mkp/cisco_vpn_tunnel-0.4.0-20230607.mkp "cisco_vpn_tunnel-0.4.0-20230607.mkp"
[PACKAGE]: ../../raw/master/mkp/cisco_vpn_tunnel-0.4.1-20240814.mkp "cisco_vpn_tunnel-0.4.1-20240814.mkp"
# Cisco IPSec VPN tunnel
Monitors the status of Cisco IPSec VPN tunnels. This is a complete rewrite of the original check
......
File added
......@@ -22,7 +22,7 @@
# 2022-12-17: check input values for isdigit()
# 2023-06-07: fixed ValueError (not enough values to unpack (expected 10, got 4)) in parse function (ipsec_tunnel_entry)
# 2023-06-07: fixed ValueError (not enough values to unpack (expected 18, got 4)) in parse function (ike_tunnel_entry)
#
# 2024-08-14: fixed missing () on isdigit
# snmpwalk sample
#
......@@ -172,7 +172,7 @@ def parse_cisco_vpn_tunnel(string_table: List[StringTable]) -> Dict[str, IkeSa]:
ipsec_sa.hc_out_octets += int(hc_out_octets) if hc_out_octets.isdigit() else 0
ipsec_sa.out_pkts += int(out_pkts) if out_pkts.isdigit() else 0
ipsec_sa.out_drop_pkts += int(out_drop_pkts) if out_drop_pkts.isdigit() else 0
if active_time.isdigit and (int(active_time) // 100 > ipsec_sa.active_time):
if active_time.isdigit() and (int(active_time) // 100 > ipsec_sa.active_time):
ipsec_sa.active_time = int(active_time) // 100
# IKE SA
......
......@@ -9,7 +9,7 @@
'gui': ['metrics/cisco_vpn_tunnel.py', 'wato/cisco_vpn_tunnel.py']},
'name': 'cisco_vpn_tunnel',
'title': 'Monitor Cisco VPN Tunnel',
'version': '0.4.0-20230607',
'version': '0.4.1-20240814',
'version.min_required': '2.1.0b1',
'version.packaged': '2.2.0p24',
'version.packaged': 'cmk-mkp-tool 0.2.0',
'version.usable_until': None}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment