BFD session status notification
Winston Chen
yoniorchen at gmail.com
Tue Oct 29 17:20:15 CET 2019
Hi,
Thanks for the info.
I am running bird along with my application inside a container. And bird
log is collected by my application. So installing another log daemon is
not necessary/practical to me.
I did a little more study on the code. And it looks like I can send the
notification in some BFD event hook. Is there any chance this idea can be
accepted? If yes, I can do some work after I finish the tasks in my hands.
Regards.
On Tue, Oct 29, 2019 at 11:34 PM Ondrej Zajicek <santiago at crfreenet.org>
wrote:
> On Mon, Oct 28, 2019 at 08:15:54PM +0800, Winston Chen wrote:
> > Hi,
> >
> >
> > I am wondering if there is a way an application can be notified when BFD
> > session status changes.
> >
> > I know currently I can check the BFD session by polling with birdc or
> > scanning the log, but if there is some way I get the notification it
> would
> > help me much more.
>
> Hi
>
> We currently do not have dedicated notification channel. There is echo
> mechanism, that allows receiving log messages through BIRD control
> socket, but that is disabled for BFD due to multithreading issue. With
> reasonable syslog daemon (e.g. rsyslog), you can configure log triggers
> instead of asynchronous scanning of logs.
>
> --
> Elen sila lumenn' omentielvo
>
> Ondrej 'Santiago' Zajicek (email: santiago at 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."
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20191030/f29a1afc/attachment.htm>
More information about the Bird-users
mailing list