######################## ## 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/*