Community discussions

MikroTik App
 
User avatar
leostereo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Thu Oct 18, 2012 11:36 pm
Location: mendoza , argentina
Contact:

Monitoring bgp edge router.

Tue Oct 01, 2019 5:42 pm

Hi guys, Im trying to find some way to properly monitor and trigger notifications when bgp sessions and default routes changes on my mkt edge router.
Mine is a CCR1036-8G-2S+ running 6.44.5 (long-term).
Since mkt does not provide bgp state info over snmp , I need to go for different aproach.
Mkt support sugest to use ssh or api for this.
I can try these ideas but I need also to coordinate some nms to work along.
Other idea would be to trigger every x minutes the "route bgp peer print" comand and send it output to an api for parse and track status.
Anyway , I would like if some has soved this or do i need to reinvent wheel.


Hope to hear your ideas ,
Leandro.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Re: Monitoring bgp edge router.

Tue Oct 01, 2019 8:31 pm

I am facing a similar issue, but instead for a network with multiple routers where it would be nice to monitor the peerings to detect issues before all network redundancy is lost and they show up as connectivity issues.
The problem is that it quickly becomes very specific to the situation at hand.
For example, for our network I wrote a small perl script that checks if BGP routes originate from the "correct" AS.
But even such a simple script is for almost half of it dependent on local conventions, ways to access the AS number data, etc.
So really difficult to share.
 
faisali
Member Candidate
Member Candidate
Posts: 180
Joined: Fri Oct 08, 2010 5:11 am

Re: Monitoring bgp edge router.  [SOLVED]

Thu Oct 03, 2019 4:50 am

Check out these threads ..

viewtopic.php?t=64572

viewtopic.php?t=72898
 
User avatar
leostereo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Thu Oct 18, 2012 11:36 pm
Location: mendoza , argentina
Contact:

Re: Monitoring bgp edge router.

Fri Oct 04, 2019 3:59 pm

Check out these threads ..

viewtopic.php?t=64572

viewtopic.php?t=72898
viewtopic.php?t=64572
is exactly what i was looking.
You are golden angel from sky.
Thanks!!!!
 
pe1chl
Forum Guru
Forum Guru
Posts: 10240
Joined: Mon Jun 08, 2015 12:09 pm

Re: Monitoring bgp edge router.

Fri Oct 04, 2019 5:18 pm

I tried that script and indeed it is valuable, installed it on some routers.

Who is online

Users browsing this forum: Amazon [Bot] and 55 guests