[Zeek] Anyone using Bro doctor plugin?

Carlos Lopez clopmz at outlook.com
Tue Mar 24 02:45:17 PDT 2020


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/zeek/attachments/20200324/ed987b8e/attachment.html 


More information about the Zeek mailing list