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

update project

parent 9c61f41b
No related branches found
No related tags found
No related merge requests found
......@@ -76,8 +76,8 @@ def parse_arista_bgp_peer(string_table: List[StringByteTable]) -> Optional[Dict[
peer_prefixes[index] = [prefixes]
for entry in BgpPeerTable:
oid_end, remote_as, remote_id, admin_state, peer_state, in_updates, out_updates, in_messages, out_messages, \
fsm_established_transitions, fsm_established_time, in_update_elapsed_time = entry
oid_end, remote_as, remote_id, admin_state, peer_state, description, in_updates, out_updates, \
in_messages, out_messages, fsm_established_transitions, fsm_established_time, in_update_elapsed_time = entry
remote_addr = bgp_get_ip_address_from_oid(f'{oid_end[2:]}')
......@@ -85,6 +85,7 @@ def parse_arista_bgp_peer(string_table: List[StringByteTable]) -> Optional[Dict[
remote_addr=remote_addr,
peer_state=peer_state,
admin_state=admin_state,
description=description,
remote_as=remote_as,
in_updates=in_updates,
out_updates=out_updates,
......@@ -122,6 +123,7 @@ register.snmp_section(
OIDBytes('2.1.11'), # aristaBgp4V2PeerRemoteIdentifier
'2.1.12', # aristaBgp4V2PeerAdminStatus
'2.1.13', # aristaBgp4V2PeerState
'2.1.14', # aristaBgp4V2PeerDescription
'7.1.1', # aristaBgp4V2PeerInUpdates
'7.1.2', # aristaBgp4V2PeerOutUpdates
'7.1.3', # aristaBgp4V2PeerInTotalMessages
......
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