How Zabbix Strengthens BGP Monitoring: From Theory to Practice

September 10, 2025

How Zabbix Strengthens BGP Monitoring: From Theory to Practice
Designed by Freepik

By Alexander Araya

Border Gateway Protocol (BGP) monitoring is essential for any network operator, service provider, or company that maintains dynamic connectivity with multiple Autonomous Systems. In an environment where BGP session stability can directly impact service availability, having tools that allow monitoring their behavior in real-time is a decisive factor in ensuring operational integrity and anticipating incidents.

A critical part of achieving this detailed visibility is the use of the **standard OIDs defined in BGP4-MIB**, a Management Information Base (MIB) developed to present, in a structured manner, information related to BGP sessions on devices implementing SNMP.

**BGP4-MIB** provides a set of objects that allow collecting key metrics such as current session states, how long sessions have been established, remote ASNs, as well as received and advertised prefixes. Each object is accessed through a unique identifier known as an Object Identifier (OID), which makes it possible to query them from systems such as Zabbix.

(Free access, no subscription required)

Some of the most relevant OIDs include:

- `1.3.6.1.2.1.15.3.1.2` → `bgpPeerState`: Shows the current state of each BGP session (Idle, Connect, Active, OpenSent, OpenConfirm, Established)

- `1.3.6.1.2.1.15.3.1.9` → `bgpPeerFsmEstablishedTime`: Specifies how long the session has been established

- `1.3.6.1.2.1.15.3.1.10` → `bgpPeerInUpdates`: Number of update messages received from a peer

- `1.3.6.1.2.1.15.3.1.11` → `bgpPeerOutUpdates`: Number of update messages transmitted to a peer

- `1.3.6.1.2.1.15.3.1.7` → `bgpPeerRemoteAs`: Peer's remote Autonomous System

These OIDs allow Zabbix to build detailed monitoring items and smart triggers that alert about anomalies in BGP sessions. Thanks to this standardization, there is no need to depend on proprietary solutions or manual parsing of CLI commands, which significantly simplifies operations in complex environments.

We will now explore how Zabbix uses these OIDs in practice to deliver robust, centralized BGP monitoring.

The views expressed by the authors of this blog are their own and do not necessarily reflect the views of LACNIC.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments