These are chat archives for Exa-Networks/exabgp

17th
Jul 2017
opuersten
@opuersten
Jul 17 2017 09:24

Hi,

we are using exabgp on our centos server notes to distribute routes via BGP for anycast services.
We like to monitor these server notes so that we are save that exabgp is working on each note and distributes the routes to it's BGP Neighbor.
Is there anything included in exabgp to do this or did you have some shell script to monitor this local?
We mainly using nrpe client on our server notes to monitor local services.

Regards Oliver

Thomas Mangin
@thomas-mangin
Jul 17 2017 09:25
1 - you can use another process to monitor exabgp (like the tcpserver does as example)
2 - from 4.0.2 you can use exabgpcli to check exabgp peer session
however the interface for looking at the RIB will change (one of the last change before 4.0.3 - which should provide a stable API for the 4.0 releases)
3 - .. hum … not sure :-)
Thomas Mangin
@thomas-mangin
Jul 17 2017 09:31
@opuersten does that help ?
opuersten
@opuersten
Jul 17 2017 09:31
Hi Thomas, monitoring if the process is still running is not a problem, there are tools to do this. We like to monitor if the bgp routes to the neighbor are up. At the moment we are running version 3.4.
Thomas Mangin
@thomas-mangin
Jul 17 2017 09:32
3.4 is more limited when it comes to monitoring but if you start a new process, you can then have it listen on the network (like tcpserver does) and issue “show routes"
opuersten
@opuersten
Jul 17 2017 09:32
On github you write 3.4 is the preferred version for production enviroment
(the same code is in the 3.4 repo)
If you start it with the API you can then telnet and issue a "show routes”.
you can change this or use something like ERCO
opuersten
@opuersten
Jul 17 2017 09:34
Did you mean the Enviroment Variable "exabgp.tcp.bind" ?
Thomas Mangin
@thomas-mangin
Jul 17 2017 09:34
no
I mean having an helper process taking command from the network. ERCO may be the best way forward if you can not write it in house.
the tcp-control example is a little bit too hacky ...
opuersten
@opuersten
Jul 17 2017 09:37
I think I have allreday started the daemon with api. How can I connect to the api to show routes?
Thomas Mangin
@thomas-mangin
Jul 17 2017 09:46
I am sorry, I do not have time to provide step by step help with ExaBGP (I wish I could). I can invite you to go to the wiki and find the related articles where users have explained how to do similar things.
Perhaps someone else can help you today ?
opuersten
@opuersten
Jul 17 2017 09:48
No, Problem. Thank you for your help Thomas ... I will read throug all this and find out if this can help us. Have a nice day !