Skip to main content

Arista BGP Switch

Description

This connector collects BGP peer, prefix and Routing Information Base metrics from Arista switches.

arista hardware network

Enterprise Connector

This connector requires the Enterprise edition of MetricsHub.

Target

Typical platforms: SNMP, Arista

Operating system: Network Device

This connector is not available for the local host (it is applicable to remote hosts only).

Prerequisites

Leverages: ARISTA-BGP4V2-MIB SNMP

Technology and protocols: SNMP

Examples

CLI

metricshub HOSTNAME -t network -c +AristaBGPSwitch --snmp v2c --community public

metricshub.yaml

resourceGroups:
<RESOURCE_GROUP>:
resources:
<HOSTNAME-ID>:
attributes:
host.name: <HOSTNAME> # Change with actual host name
host.type: network
connectors: [ +AristaBGPSwitch ] # Optional, to load only this connector
protocols:
snmp:
version: v2c # Read documentation for v1, v2c and v3
community: public # or probably something more secure

Connector Activation Criteria

The Arista BGP Switch connector will be automatically activated, and its status will be reported as OK if all the below criteria are met:

  • An SNMP GetNext on the OID 1.3.6.1.4.1.30065.4.1.1.7.1 must return a non-empty value

Metrics

TypeCollected MetricsSpecific Attributes
network-peerhw.network.bgp.peer.messages{direction="receive"}
hw.network.bgp.peer.messages{direction="transmit"}
id
name
type
network-peer-adj-ribhw.network.bgp.adj.rib.prefixes{direction="receive"}
hw.network.bgp.adj.rib.prefixes{direction="transmit"}
afi
safi
type
network-peer-discontinuityhw.network.bgp.peer.discontinuity.timestampid
type
network-peer-statushw.network.bgp.peer.connection_state{state="Active|Connect|Established|Idle|OpenConfirm|OpenSent"}
hw.network.bgp.peer.status{state="disabled|enabled"}
bgp.peer.address.type
id
name
type
network-prefixhw.network.bgp.prefixes{direction="receive"}
hw.network.bgp.prefixes{direction="transmit"}
id
name
type