diff options
| author | My Name | 2014-12-10 13:09:57 +0100 |
|---|---|---|
| committer | My Name | 2014-12-10 13:09:57 +0100 |
| commit | 5e7fe4497f008969a00bda55c634ea20488dcb2d (patch) | |
| tree | 7da6685de799f47072cf27c37e2f2348f7eabab6 /monit/fail2ban.conf | |
| parent | ce754fa465c7b1149689495b661a425071c775f6 (diff) | |
| download | dotfiles-5e7fe4497f008969a00bda55c634ea20488dcb2d.tar.gz | |
Added monit config files.
Diffstat (limited to 'monit/fail2ban.conf')
| -rw-r--r-- | monit/fail2ban.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/monit/fail2ban.conf b/monit/fail2ban.conf new file mode 100644 index 0000000..96f9d26 --- /dev/null +++ b/monit/fail2ban.conf @@ -0,0 +1,5 @@ +check process fail2ban with pidfile /var/run/fail2ban/fail2ban.pid + start program = "/etc/init.d/fail2ban start" + stop program = "/etc/init.d/fail2ban stop" + if 3 restarts within 3 cycles then alert + if 5 restarts within 5 cycles then timeout |
