Help with SNMP for BIRD
Good afternoon everyone, I hope this message finds you well. We would like to monitor the BGP session stablished by our BIRD Route server with monitoring tools like Nagios or LibreNMS. I’ve found a couple email threads indicating this was not directly available a couple years ago. On the other hand, some web sites suggest tools for this purpose, but I’m u sure if they are reliable. Is this now available with BIRD? Or, can you suggest a tool for this? Best, N I C . C R Glenn Peace Sr. Network Engineer gtpeace@nic.cr
Glenn Peace wrote on 21/05/2019 23:26:
We would like to monitor the BGP session stablished by our BIRD Route server with monitoring tools like Nagios or LibreNMS.
Is this now available with BIRD? Or, can you suggest a tool for this?
As it stands, Bird does not have SNMP or direct API support (so far as I am aware). We use Bird's Eye [1]: https://github.com/inex/birdseye with the included Nagios script: https://github.com/inex/birdseye/blob/master/bin/nagios-check-birdseye-bgp-s... - Barry [1] conflict declaration: I wrote it ;-)
Hello Barry, Thanks for the suggestions We'll take a look at Bird's Eye, and since you wrote it; I'll keep your contact handy in case our systems guys need any help putting it to work. Best, Glenn Peace, On 5/21/19, 23:59, "Barry O'Donovan" <barry.odonovan@inex.ie> wrote: As it stands, Bird does not have SNMP or direct API support (so far as I am aware). We use Bird's Eye [1]: https://github.com/inex/birdseye with the included Nagios script: https://github.com/inex/birdseye/blob/master/bin/nagios-check-birdseye-bgp-s... - Barry [1] conflict declaration: I wrote it ;-)
Am 22.05.19 um 00:26 schrieb Glenn Peace:
Good afternoon everyone,
I hope this message finds you well.
We would like to monitor the BGP session stablished by our BIRD Route server with monitoring tools like Nagios or LibreNMS.
I’ve found a couple email threads indicating this was not directly available a couple years ago.
On the other hand, some web sites suggest tools for this purpose, but I’m u sure if they are reliable.
Is this now available with BIRD? Or, can you suggest a tool for this?
Best,
N I C . C R Glenn Peace Sr. Network Engineer gtpeace@nic.cr
Hi, bird does not include a SNMP agent. You have to find a different solution for now. BUT: It would be a nice project to add a SNMP subagent to the project. Goal: - Create a SNMP subagent framework for bird that utilizes net-snmp's AgentX interface - The subagent should provide BGP information according to RFC 4273 (BGP MIB). Any volunteers? Mit freundlichen Grüßen, -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein
Hello Michael, Thanks for your message. Unfortunately, I don't have programing knowledge to help developing this. If I can help anyone who takes the challenge, I'll be glad to. Best, Glenn Peace, bird does not include a SNMP agent. You have to find a different solution for now. BUT: It would be a nice project to add a SNMP subagent to the project. Goal: - Create a SNMP subagent framework for bird that utilizes net-snmp's AgentX interface - The subagent should provide BGP information according to RFC 4273 (BGP MIB). Any volunteers? Mit freundlichen Grüßen, -- [*] sys4 AG https://sys4.de, +49 (89) 30 90 46 64 Schleißheimer Straße 26/MG,80333 München Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263 Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief Aufsichtsratsvorsitzender: Florian Kirstein
Hi Glenn, There is also bird-snmp-agent that works with LibreNMS out of the box if you are looking for something quick. While I am not sure who the original author was as there were multiple copies of the package on both web and github - I've added support for bird2 and some quality (or so I like to think) documentation. https://github.com/mikenowak/bird-snmp-agent The only caveat is that IPv6 BGP sessions can not be currently monitored, as BGP4-MIB does not have support for IPv6. I've researched a possibility to include support for BGP4-V2-MIB which includes IPv6 peers support, but at the time we had limited interest in IPv6 - so that never got done. I also recall that there were changes required to LibreNMS to get BGP4-V2-MIB working. If you are not necessary limited to Nagios (Barry's reply) or LibreNMS (the above) then you may also consider prometheus exporter for bird by Daniel Czerwonk - https://github.com/czerwonk/bird_exporter HTH, Michal ----- On May 22, 2019, at 7:26 AM, Glenn Peace gtpeace@nic.cr wrote:
Good afternoon everyone,
I hope this message finds you well.
We would like to monitor the BGP session stablished by our BIRD Route server with monitoring tools like Nagios or LibreNMS.
I’ve found a couple email threads indicating this was not directly available a couple years ago.
On the other hand, some web sites suggest tools for this purpose, but I’m u sure if they are reliable.
Is this now available with BIRD? Or, can you suggest a tool for this?
Best,
N I C . C R Glenn Peace Sr. Network Engineer gtpeace@nic.cr
participants (4)
-
Barry O'Donovan -
Glenn Peace -
Michael Schwartzkopff -
Michal Nowak