Is there any way for other programs to listen for Bird events regarding Link Failure (IE: OSPF/BFD dead neighbor)? Bird is great, but the modems and device drivers I am working with are not. I can get some pretty odd ‘zombie’ states on network interfaces, and the BFD session going down is often the best indicator something bad happened. I was hoping to get that information from bird and take actions to fix it. -Liam Kelly
On Fri, Dec 22, 2017 at 08:46:28AM -0500, Liam Kelly wrote:
Is there any way for other programs to listen for Bird events regarding Link Failure (IE: OSPF/BFD dead neighbor)?
Bird is great, but the modems and device drivers I am working with are not. I can get some pretty odd ‘zombie’ states on network interfaces, and the BFD session going down is often the best indicator something bad happened. I was hoping to get that information from bird and take actions to fix it.
Hi One way is to add 'debug { events };' to OSPF protocol and use log matching features of newer syslog daemons (like rsyslog). -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
On 22.12.2017 14:46, Liam Kelly wrote:
Is there any way for other programs to listen for Bird events regarding Link Failure (IE: OSPF/BFD dead neighbor)?
You could parse the output of "birdc show proto" to detect peer failure. Or talk directly to the bird daemon via its control socket like birdc does. Regards -- Robert Sander Heinlein Support GmbH Linux: Akademie - Support - Hosting http://www.heinlein-support.de Tel: 030-405051-43 Fax: 030-405051-19 Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
participants (3)
-
Liam Kelly -
Ondrej Zajicek -
Robert Sander