Files
VPS-scripts_Monit/conf/monit/monitrc
2021-01-08 11:06:07 +01:00

19 lines
690 B
Plaintext

########################
## Monit control file ##
########################
set daemon 30 # check services at 2-minute intervals
set log /var/log/monit.log
set idfile /var/lib/monit/id
set eventqueue
basedir /var/lib/monit/events # set the base directory where events will be stored
slots 100 # optionally limit the queue size
#WEBUIset httpd port 2812 and
#WEBUIallow admin:monit # require user 'admin' with password 'monit'
#WEBUI#use address localhost # only accept connection from localhost (drop if you use M/Monit)
#WEBUI#allow localhost # allow localhost to connect to the server and
include /etc/monit/conf.d/*