[Zeek] Anyone using Bro doctor plugin?

Justin Azoff justin at corelight.com
Fri Mar 27 08:32:02 PDT 2020


Sorry about that,  I just pushed 2.0.3 that fixes that issue.

On Tue, Mar 24, 2020 at 5:47 AM Carlos Lopez <clopmz at outlook.com> wrote:
>
> Hi all,
>
>
>
> I have enable bro doctor plugin in my Zeek 3.0.3 cluster and I see the following error:
>
>
>
> ###################################################################
>
> # Checking if connections are unevenly distributed across workers #
>
> ###################################################################
>
> error: Traceback (most recent call last):
>
>   File "/usr/lib64/python3.6/cmd.py", line 214, in onecmd
>
>     func = getattr(self, 'do_' + cmd)
>
> AttributeError: 'ZeekCtlCmdLoop' object has no attribute 'do_doctor'
>
>
>
> During handling of the above exception, another exception occurred:
>
>
>
> Traceback (most recent call last):
>
>   File "/opt/zeek/lib/zeek/plugins/packages/bro-doctor/doctor.py", line 596, in cmd_custom
>
>     results.ok = f() and results.ok
>
>   File "/opt/zeek/lib/zeek/plugins/packages/bro-doctor/doctor.py", line 457, in check_connection_distribution
>
>     variance = reduce(lambda var, cnt: var + (cnt - mean)**2, nodes.values(), 0) / len(nodes)
>
> NameError: name 'reduce' is not defined
>
>
>
> All other doctor options works ok, but not this one … Is it a bug? Do I need to install some other python module? Zeek is running as unprivileged user …
>
>
>
> --
>
> Regards,
>
> C. L. Martinez
>
> _______________________________________________
> Zeek mailing list
> zeek at zeek.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek



-- 
Justin



More information about the Zeek mailing list