[Zeek] Broker issue when in clustered mode
Jon Siwek
jsiwek at corelight.com
Mon Jun 15 10:13:22 PDT 2020
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