Hi, I have logrotation running on my system and constantly get the 
following entries in fail2ban.log.
as the file is beyond the rotation level (Keep x number of logs) and has 
been removed.

2016-01-17 13:51:34,280 fail2ban.filterpoll     [16861]: WARNING Too 
many errors. Setting the jail idle
2016-01-17 13:51:35,281 fail2ban.filterpoll     [16861]: ERROR Unable to 
get stat on /var/log/maillog-20151122 because of: [Errno 2] No such file 
or directory: '/var/log/maillog-20151122'
2016-01-17 13:51:36,282 fail2ban.filterpoll     [16861]: ERROR Unable to 
get stat on /var/log/maillog-20151122 because of: [Errno 2] No such file 
or directory: '/var/log/maillog-20151122'
2016-01-17 13:51:37,283 fail2ban.filterpoll     [16861]: ERROR Unable to 
get stat on /var/log/maillog-20151122 because of: [Errno 2] No such file 
or directory: '/var/log/maillog-20151122'
2016-01-17 13:51:37,283 fail2ban.filterpoll     [16861]: WARNING Too 
many errors. Setting the jail idle
2016-01-17 13:51:38,284 fail2ban.filterpoll     [16861]: ERROR Unable to 
get stat on /var/log/maillog-20151122 because of: [Errno 2] No such file 
or directory: '/var/log/maillog-20151122'
2016-01-17 13:51:39,286 fail2ban.filterpoll     [16861]: ERROR Unable to 
get stat on /var/log/maillog-20151122 because of: [Errno 2] No such file 
or directory: '/var/log/maillog-20151122'
2016-01-17 13:51:40,287 fail2ban.filterpoll     [16861]: ERROR Unable to 
get stat on /var/log/maillog-20151122 because of: [Errno 2] No such file 
or directory: '/var/log/maillog-20151122'
2016-01-17 13:51:40,287 fail2ban.filterpoll     [16861]: WARNING Too 
many errors. Setting the jail idle
2016-01-17 13:51:41,288 fail2ban.filterpoll     [16861]: ERROR Unable to 
get stat on /var/log/maillog-20151122 because of: [Errno 2] No such file 
or directory: '/var/log/maillog-20151122'

Is there a setting i am not seeing in the config to stop if the file is 
no longer present?

Cheers

Steve


------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Fail2ban-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to