set daemon 120 set logfile /var/log/monit.log set alert root@localhost set mailserver localhost # Monit has an embedded web server which can be used to view status of # services monitored and manage services from a web interface. See the # Monit Wiki if you want to enable SSL for the web server. set httpd port 2812 and use address 127.0.0.1 # only accept connection from localhost allow admin:monit # require user 'admin' with password 'monit'