Notification on network update (BABEL)
Good morning, is there any possibility to be notified on network update. We are using bird to manage BABEL in our product (embedded system). Main usage would be to send SNMP notification on BABEL network update. Prefered would be to execute any shell script, but any other method would be appreciated. Best Regards, Martin
Hello! There is an SNMP AgentX implementation in progress, probably for BIRD v3 only and primarily for BGP status notifications for now. It should get extended to cover all protocols in future. [Begin of Advertisement.] Currently, most of the BIRD team development time is spent on IXP needs as they are our main customers, therefore implementing SNMP for anything else than BGP has quite a low priority. This may change if there are customers needing Babel improvements; and on a personal note, I've been thinking about using Babel in distributed networks quite a lot, even in specialized situations like passenger AP's in public transportation. I love these setups and it would be a pleasure for me to get my hands on. And you're a device manufacturer who uses BIRD as a part of your product – I'd like to offer you our support programme which allows you to cooperate with our team directly, get early security issue notifications and prioritize some feature development: https://bird.network.cz/?support [End of advertisement.] You can also probably get the information from logs by parsing them. Maria On 10/14/22 08:07, Martin Vystrčil via Bird-users wrote:
Good morning,
is there any possibility to be notified on network update. We are using bird to manage BABEL in our product (embedded system).
Main usage would be to send SNMP notification on BABEL network update. Prefered would be to execute any shell script, but any other method would be appreciated.
Best Regards, Martin
Hi, In the meanwhile you can "catch" route changes by exporting them to some kernel table and monitoring netlink. Or exporting them via BGP to some software that will perform custom action on changes. There are BGP implementations in Python and Go to my knowledge. But I'm not sure if that is enough for your requirements. Maybe you need to catch some updates that do not cause route changes. On Fri, Oct 14, 2022, 08:14 Martin Vystrčil via Bird-users < bird-users@network.cz> wrote:
Good morning,
is there any possibility to be notified on network update. We are using bird to manage BABEL in our product (embedded system).
Main usage would be to send SNMP notification on BABEL network update. Prefered would be to execute any shell script, but any other method would be appreciated.
Best Regards, Martin
On Fri, Oct 14, 2022 at 08:07:09AM +0200, Martin Vystrčil via Bird-users wrote:
Good morning,
is there any possibility to be notified on network update. We are using bird to manage BABEL in our product (embedded system).
Main usage would be to send SNMP notification on BABEL network update. Prefered would be to execute any shell script, but any other method would be appreciated.
Hi What do you mean by 'network update'? If that means changing routing table (as a result of change in network topology), then you could just monitor kernel routing table changes with netlink / 'ip monitor' command. -- 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."
participants (4)
-
Alexander Zubkov -
Maria Matejka -
Martin Vystrčil -
Ondrej Zajicek