monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Monit built-in Http log for fail2ban


From: Alex
Subject: Monit built-in Http log for fail2ban
Date: Thu, 26 Apr 2012 15:54:54 +0300

I have Setup monit on Centos system an I use on apache "ProxyPass /monit/ http://localhost:2812/" in order to access it
so the url is something like https://domanname/monit/
 
I would like to know is it is possible to protect that url via fail2ban.
I am searching to see if the - internal server ( mongerl as I read in the site) has some sort of log file for failed attempts like apaches "client <HOST>user  authentication failure" so I can catch them with a regex...
 
I use on the config
 
set daemon  60
set logfile syslog facility log_daemon
set mailserver localhost
set mail-format { from: address@hidden }
set alert address@hiddenomname
set httpd port 2812 ADDRESS localhost and
     SSL DISABLE
     PEMFILE  /var/certs/monit.pem
     allow adminname:pass
 
I did try to search for both the logs and mongerl proc but with not luck.
Is there someone who would know how to achieve that or perhaps could think of something else!
 
Br Alex


reply via email to

[Prev in Thread] Current Thread [Next in Thread]