Re: logging via udp

2023-12-13 Thread Alexander Zubkov via Bird-users
Hi, Thanks! I looked throught your version and it is unclear to me if the sk is still added to the io loop list (sock_list) or not. It seems that sk_insert() still should be called on log udp socket, because I see no exception for it. Didn't you have the same problem with reloads as I had? I

Re: notification scripts ?

2023-12-13 Thread Nigel Kukard via Bird-users
On 12/13/23 10:14, Maria Matejka via Bird-users wrote: Hello! On 2023-12-13 10:19, Kees Meijs | Nefos wrote: Hi, On 12-12-2023 17:20, Maria Matejka via Bird-users wrote: We're prototyping a machine-friendly interface which should include, in some later versions, also subscribing to various

Re: notification scripts ?

2023-12-13 Thread Maria Matejka via Bird-users
Hello! On 2023-12-13 10:19, Kees Meijs | Nefos wrote: Hi, On 12-12-2023 17:20, Maria Matejka via Bird-users wrote: We're prototyping a machine-friendly interface which should include, in some later versions, also subscribing to various notifications. Hear hear! Probably asked before, but

Re: notification scripts ?

2023-12-13 Thread Tim Small via Bird-users
FWIW CBOR etc. sounds good to me. There is good support across a wide range of languages. e.g. It would be relatively straightforward to use such an API to provide e.g. systemd notify integration (for systemd monitoring of bird daemon health, including automatic restarts etc.), and also a

Re: notification scripts ?

2023-12-13 Thread Maria Matejka via Bird-users
On 2023-12-13 11:28, Nigel Kukard wrote: On 12/13/23 10:14, Maria Matejka via Bird-users wrote: Hello! On 2023-12-13 10:19, Kees Meijs | Nefos wrote: Hi, On 12-12-2023 17:20, Maria Matejka via Bird-users wrote: We're prototyping a machine-friendly interface which should include, in some

Re: logging via udp

2023-12-13 Thread Ondrej Zajicek
On Wed, Dec 13, 2023 at 11:50:42AM +0100, Alexander Zubkov wrote: > Hi, > > Thanks! I looked throught your version and it is unclear to me if the > sk is still added to the io loop list (sock_list) or not. It seems > that sk_insert() still should be called on log udp socket, because I > see no

Re: logging via udp

2023-12-13 Thread Alexander Zubkov via Bird-users
Hi, Thank you! On Wed, Dec 13, 2023 at 2:35 PM Ondrej Zajicek wrote: > > On Wed, Dec 13, 2023 at 11:50:42AM +0100, Alexander Zubkov wrote: > > Hi, > > > > Thanks! I looked throught your version and it is unclear to me if the > > sk is still added to the io loop list (sock_list) or not. It seems

Re: logging via udp

2023-12-13 Thread Ondrej Zajicek
On Wed, Dec 13, 2023 at 02:59:47PM +0100, Alexander Zubkov wrote: > > > And could you, please, also explain another moment: > > > https://gitlab.nic.cz/labs/bird/-/commit/2c7555cf2ac8439713dd9148b348128c57222a38#bc490dc797778621d2345fabe1fb0b59fce18264_141_179 > > > Here your free the sk resource.