interfasys
Verified User
Directadmin includes a very basic and unflexible service monitor which only supports its own rc scripts, wouldn't it be better for everyone if it was displaying the information collected by monit in the control panel?
The screenshots will give you a better idea of the type of information we get through it
http://mmonit.com/monit/#screenshots
It can restart services, test scripts, test the mail server, monitor the filesystem, permissions, etc.
Example scripts
Automatically manage typical mail server problems
If Apache is stuck doing lookups
It's available on Linux and BSD
The screenshots will give you a better idea of the type of information we get through it
http://mmonit.com/monit/#screenshots
It can restart services, test scripts, test the mail server, monitor the filesystem, permissions, etc.
Example scripts
Automatically manage typical mail server problems
Code:
check process exim with pidfile /var/run/exim.pid
start program = "/usr/local/etc/rc.d/exim start"
stop program = "/usr/local/etc/rc.d/exim stop"
if cpu > 60% for 2 cycles then alert
if cpu > 80% for 5 cycles then restart
if totalmem > 200.0 MB for 5 cycles then restart
if children > 250 then restart
if loadavg(5min) greater than 10 for 8 cycles then stop
if failed host INSERT_THE_RELAY_HOST port 25 type tcp protocol smtp
with timeout 15 seconds
then alert
if 3 restarts within 5 cycles then timeout
If Apache is stuck doing lookups
Code:
check process apache with pidfile /var/run/httpd.pid
start "/usr/local/etc/rc.d/httpd start"
stop "/usr/local/etc/rc.d/httpd stop"
if failed host www.example.co.uk port 80
protocol apache-status dnslimit > 25%
then alert
It's available on Linux and BSD
Last edited: