[Zeek] Broker issue when in clustered mode
Andrew Klaus
andrew at aklaus.ca
Mon Jun 15 13:50:00 PDT 2020
Perfect, that helps a ton! My Python Broker listener is working
perfectly in cluster mode now.
Thanks for your help Jon.
On Mon, Jun 15, 2020 at 11:13 AM Jon Siwek <jsiwek at corelight.com> wrote:
>
> On Mon, Jun 15, 2020 at 9:53 AM Andrew Klaus <andrew at aklaus.ca> wrote:
>
> > I'll need to find how to get the Workers to reconnect if they can't
> > connect at zeek_init().
>
> The `Broker::peer()` function can take an argument to control how
> frequently a failed connection gets automatically retried. May work
> if you wanted to set that lower than the default of 30 seconds, like 1
> second or even less. Related docs:
>
> https://docs.zeek.org/en/current/scripts/base/frameworks/broker/main.zeek.html#id-Broker::peer
> https://docs.zeek.org/en/current/scripts/base/frameworks/broker/main.zeek.html#id-Broker::default_connect_retry
>
> - Jon
More information about the Zeek
mailing list