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 d93f6897 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent 53ead5b0
No related branches found
No related tags found
No related merge requests found
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
# 2021-03-27: rewrite for CMK2.0 # 2021-03-27: rewrite for CMK2.0
# 2021-03-28: added warning for missing prefix limit/warn threshold # 2021-03-28: added warning for missing prefix limit/warn threshold
# 2021-07-08: fixed handling of missing prefix limit/accepted prefixes/warn threshold. # 2021-07-08: fixed handling of missing prefix limit/accepted prefixes/warn threshold.
# thanks to Florian[dot]Dille[at]aldi-sued[dot]com # thanks to Florian[dot]Dille[at]<redacted>>[dot]com
# 2021-07-13: fixed handling of perfdata (in/out updates, in/out total messages). # 2021-07-13: fixed handling of perfdata (in/out updates, in/out total messages).
# thanks to Florian[dot]Dille[at]aldi-sued[dot]com and timhor[at]outlook[dot]com # thanks to Florian[dot]Dille[at]<redacted>>[dot]com and timhor[at]outlook[dot]com
# added type hinting for parsed data (section) # added type hinting for parsed data (section)
# optimised data handling in check function (add prefixes to peer info) # optimised data handling in check function (add prefixes to peer info)
# made default state if item not found configurable via WATO # made default state if item not found configurable via WATO
...@@ -233,6 +233,7 @@ register.snmp_section( ...@@ -233,6 +233,7 @@ register.snmp_section(
) )
# '1', # cbgpPeer3VrfId # '1', # cbgpPeer3VrfId
# '2', # cbgpPeer3Type
# '3', # cbgpPeer3RemoteAddr # '3', # cbgpPeer3RemoteAddr
# '4', # cbgpPeer3VrfName # '4', # cbgpPeer3VrfName
# '5', # cbgpPeer3State # '5', # cbgpPeer3State
...@@ -315,8 +316,8 @@ def parse_inv_cisco_bgp_peer(string_table: List[StringTable]): ...@@ -315,8 +316,8 @@ def parse_inv_cisco_bgp_peer(string_table: List[StringTable]):
'status_columns': { 'status_columns': {
'last_error_code': ByteToHex(last_error), 'last_error_code': ByteToHex(last_error),
'last_error': bgp_errors(last_error), 'last_error': bgp_errors(last_error),
'prev_state': bgp_peerstate(prev_state),
}, },
'prev_state': bgp_peerstate(prev_state),
} }
if local_as.isdigit(): if local_as.isdigit():
......
No preview for this file type
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