Monitor BGP sessions on mikrotik from zabbix
Branch: master
Clone or download
Pull request Compare This branch is 13 commits ahead of t1bur1an:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


One scripts and template for monitoring bgp sessions in zabbix.

Import template to your zabbix instalation.

  • [TPE]Mikrotik_BGP.xml -

Place scripts in zabbix external scripts folder.



    • 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)
  • - used for returning peers list to zabbix

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

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


  • bsod (t1bur1an)