Monitor BGP sessions on mikrotik from zabbix
Python
Switch branches/tags
Nothing to show
Pull request Compare This branch is 13 commits ahead of t1bur1an:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
RosAPI.py
ZbxBGPMK.py
[TPE]Mikrotik_BGP.xml
bgpdiscovery.py
bgpmon.py
zbx_export_templates.xml

README.md

Description

One scripts and template for monitoring bgp sessions in zabbix.

Import template to your zabbix instalation.

  • [TPE]Mikrotik_BGP.xml - ZbxBGPMK.py

Place scripts in zabbix external scripts folder.

Files

  • ZbxBGPMK.py

    • lld (user) (pass) (ip of RounterOS)
    • uptime (user) (pass) (ip of RouterOS) (ip of bgp peer, get ldd)
    • rotas (user) (pass) (ip of RouterOS) (ip of bgp peer, get ldd)
    • state (user) (pass) (ip of RouterOS) (ip of bgp peer, get ldd)
  • bgpdiscovery.py - used for returning peers list to zabbix

  • bgpmon.py - get bgp session state and return 0 or 1.

  • RosAPI - RouterOS API library for python (thx David Jelić and Luka Blašković)

Authors

  • bsod (t1bur1an)