Hello,

Depending on the type of events needed, besides logs or active
monitoring with birdc, one can also do things like exporting routes to
some kernel table and monitoring them using netlink. Or setup a
"monitoring" bgp (or other protocol) sessions with something like
exabgp.

Regards,
Alexander

On Tue, Dec 12, 2023 at 5:25 PM Maria Matejka via Bird-users
<bird-users@network.cz> wrote:
>
> Hello,
>
> there is no such mechanism in current BIRD, your best option is probably 
> hooking on logs and parsing them.
>
> We're prototyping a machine-friendly interface which should include, in some 
> later versions, also subscribing to various notifications.
>
> Maria
>
> On 2023-12-12 16:19, Jérôme Loyet wrote:
>
> Hello,
>
> i'm using bird as BGP/BFD client and I'd like to exec some command when 
> something happens in bird. Like up/down script or something like that.
>
> Is there something close to that or another notification mechanism that 
> exists ?
>
> Thanks
> ++ jerome
>
> --
> Maria Matejka (she/her) | BIRD Team Leader | CZ.NIC, z.s.p.o.

Reply via email to