ispCP - Board - Support
[How-to] Configure MONIT to monitorize your server - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: [How-to] Configure MONIT to monitorize your server (/thread-815.html)

Pages: 1 2 3 4


RE: [How-to] Configure MONIT to monitorize your server - tioan - 06-27-2007 04:03 AM

BeNe Wrote:Everybody can write in the Wiki - you need no Account --> Feel free to edit our manuals.

If have see it now, great^^
I add it today or tomorrow


RE: [How-to] Configure MONIT to monitorize your server - fulltilt - 12-04-2007 02:45 AM

is there's a way to monitor fail2ban with monit?
There is only a socket in /tmp no pid file ...


RE: [How-to] Configure MONIT to monitorize your server - truzone - 05-20-2008 05:45 PM

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-install-fail2ban-082-last-version-debian-etch-t-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



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

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-install-fail2ban-082-(last-version)-debian-etch-t-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



RE: [How-to] Configure MONIT to monitorize your server - brafi - 01-04-2009 08:33 AM

What is the login-password and username for this script?


RE: [How-to] Configure MONIT to monitorize your server - r3r3 - 04-05-2009 12:00 AM

Hey guys, i folowed this monit tutorial but i can get the web interface to show
I don't understand what's wrong.

i run debian etch with ispcp rc7

all seems fine, monit is running it checks for services, restart them etc but no webgui


RE: [How-to] Configure MONIT to monitorize your server - BeNe - 04-06-2009 02:45 AM

Check the right Port, is the Port open ?

Greez BeNe


RE: [How-to] Configure MONIT to monitorize your server - server801 - 04-19-2009 05:37 PM

here is the issues with the creation of certificates
Code:
openssl req -new -x509 -days 365 -nodes -config ./monit.cnf -out /etc/monit/monit.pem -keyout /etc/monit/monit.pem
error on line -1 of ./monit.cnf
25537:error:02001002:system library:fopen:No such file or directory:bss_file.c:122:fopen('./monit.cnf','rb')
25537:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125:
25537:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:197:
Debian Lenny


RE: [How-to] Configure MONIT to monitorize your server - BeNe - 04-19-2009 08:39 PM

Code:
./monit.cnf
Sure this is right ? This file does not exits!
Code:
fopen:No such file or directory
Try to change in the directory of this file and use it without the "./"

Greez BeNe


RE: [How-to] Configure MONIT to monitorize your server - server801 - 04-20-2009 12:03 AM

thanks!