You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in monitor.py, Monitor.run(), there is code to detect when /var/log/fail2ban.log has rotated. It does not seem to be working on any of my Ubuntu 14.04 LTS systems.
If anyone can take a look...?
The text was updated successfully, but these errors were encountered:
I'm not a python person (yet), so I can't offer a code fix, however, stat(1) returns inode number as one of the fields. If python's stat() can return that, you could monitor to see if the inode number changes? I will look into this and see if I can give a hand...
EDIT: Aha, looks like stat.ST_INO may be something to look at...
in monitor.py, Monitor.run(), there is code to detect when /var/log/fail2ban.log has rotated. It does not seem to be working on any of my Ubuntu 14.04 LTS systems.
If anyone can take a look...?
The text was updated successfully, but these errors were encountered: