summaryrefslogtreecommitdiff
path: root/monit/fail2ban.conf
blob: 96f9d26fab3d48330af1db140dbe21561d24416b (plain)
1
2
3
4
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