How Zabbix Strengthens BGP Monitoring: From Theory to Practice

10/09/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.

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.

(Free access, no subscription required)

Why Monitor BGP?

BGP is the protocol that makes it possible for Autonomous Systems to exchange routing information, allowing prefixes to be advertised globally over the Internet. While generally stable, BGP sessions can be affected by multiple factors such as physical link failures, router reboots, configuration errors, unexpected changes in advertised prefixes, or security incidents like route hijacking.

This is why limiting monitoring to a simple ping or interface check is not enough. Detailed visibility into the state of each BGP session is key to detecting problems and reducing troubleshooting times.

Integrating BGP with Zabbix

Zabbix allows incorporating BGP monitoring through SNMP and BGP4-MIB, a set of standardized objects that provide information about active sessions and their state. Thanks to this compatibility, BGP monitoring can be integrated into the same environment where the overall performance of network devices is already being tracked.

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