PermitANY

Monitoring · python · 41 copies

BGP Neighbor State Monitor

Tracks BGP session state, flaps and prefix counts per peer and per VRF across all eight platforms. Counts flaps over a rolling time window rather than a lifetime total, so a peer that flapped twice last year reads as healthy while twice in the last hour is flagged unstable. Distinguishes a peer that is down from one that has never come up since monitoring began, and a down session from one Established with zero prefixes. Persists history atomically, supports webhook and syslog alerting, and returns a non-zero exit code for cron.

  • Arista EOS
  • FortiOS
  • Cisco IOS
  • Cisco IOS-XE
  • Cisco IOS-XR
  • Junos
  • Cisco NX-OS
  • PAN-OS
$pip install "netmiko>=4.3" "PyYAML>=6.0" "requests>=2.28" "tabulate>=0.9"
terminal

Tags

bgpmonitoringflap-detectionvrfnetmikoalertingslawebhookyamlinventory