fulltilt
Member
Posts: 1,225
Joined: Apr 2007
Reputation: 5
|
RE: [How-to] Configure MONIT to monitorize your server
Thanks - very nice :-)
truzone Wrote:Hello
to monitor fail2ban with monit:
First you must have the last fail2ban last version (0.8.2) If you have debian etch your fail2ban version is 0.7.5 To install fail2ban 0.8.2 in debian etch: http://www.isp-control.net/forum/howto-i...-3340.html
Now open /etc/monit/monitrc
Code:
# vi /etc/monit/monitrc
Add at the end
Code:
# fail2ban
check process fail2ban with pidfile /var/run/fail2ban/fail2ban.pid
group services
start program = "/etc/init.d/fail2ban start"
stop program = "/etc/init.d/fail2ban stop"
if 5 restarts within 5 cycles then timeout
|
|
05-20-2008 05:53 PM |
|