[Bro] Bug when running broctl cron

Nicholas Jones jones at nics.utk.edu
Fri Jan 22 10:47:17 PST 2010


Centos 5.4 with Python 2.4.3


On Jan 22, 2010, at 11:40 AM, Seth Hall wrote:

> On Jan 22, 2010, at 11:19 AM, Nicholas Jones wrote:
> 
>> I have a fresh installation of Bro 1.5.1, and I am encountering an error when running 'broctl cron'. It appears that when broctl attempts to do a df, the % symbol is not stripped before python tries to convert it to a float. This throws a python error, as you can see below.
>> 
>> I made the error disappear by changing avail=float(df[3]) to avail=float(df[3].strip("%"))
> 
> 
> What operating system are you running this on?
> 
>  .Seth
> 
> ---
> Seth Hall
> Network Security - Office of the CIO
> The Ohio State University
> Phone: 614-292-9721
> 





More information about the Bro mailing list