Current time: 05-18-2024, 10:46 AM Hello There, Guest! (LoginRegister)


Post Reply 
[How-to] Configure MONIT to monitorize your server
Author Message
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #24
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
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [How-to] Configure MONIT to monitorize your server - fulltilt - 05-20-2008 05:53 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)