Connectors directory[1]   Full listing of connectors[2]

Arista BGP Switch

Description

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

arista[3] enterprise[4] hardware[5] network[6]

Target

Typical platforms: Arista[7], SNMP[8]

Operating system: Network Device

Prerequisites

Leverages: ARISTA-BGP4V2-MIB SNMP

Technology and protocols: SNMP

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

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 Get-Next on the OID 1.3.6.1.4.1.30065.4.1.1.7.1 must return a value in the same subtree

Metrics

Type Collected Metrics Specific Attributes
network-peer
  • hw.network.bgp.peer.messages{direction="receive"}
  • hw.network.bgp.peer.messages{direction="transmit"}
  • id
  • name
  • type
network-peer-adj-rib
  • hw.network.bgp.adj.rib.prefixes{direction="receive"}
  • hw.network.bgp.adj.rib.prefixes{direction="transmit"}
  • afi
  • safi
  • type
network-peer-discontinuity
  • hw.network.bgp.peer.discontinuity.timestamp
  • id
  • type
network-peer-status
  • hw.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-prefix
  • hw.network.bgp.prefixes{direction="receive"}
  • hw.network.bgp.prefixes{direction="transmit"}
  • id
  • name
  • type
No results.