set daemon 120 set logfile syslog set eventqueue basedir /var/monit slots 100 #uncomment for mail delivery #set mailserver mail.example.com port 587 username "monit@example.com" password "supersecretpassword" #set alert monit@example.com #set alert admin@example.com on { nonexist, timeout, connection } set httpd port 2812 and use address 127.0.0.1 allow localhost allow admin:monit include /etc/monit.d/*