Current time: 07-13-2025, 08:16 AM Hello There, Guest! (LoginRegister)


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

Posts: 7
Joined: May 2008
Reputation: 0
Post: #23
RE: [How-to] Configure MONIT to monitorize your server
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
(This post was last modified: 05-20-2008 05:57 PM by truzone.)
05-20-2008 05:45 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 - truzone - 05-20-2008 05:45 PM

Forum Jump:


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