########################################################################### ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## ########################################################################### set daemon 30 # check services at 30 seconds intervals set logfile syslog set pidfile /usr/local/var/run/monit.pid # Enable only if using mmonit and set the IP and credentials accordingly. # set mmonit http://monit:monit@192.168.0.1:8080/collector # and register without credentials # Don't register credentials set httpd port 2812 and use address localhost # only accept connection from localhost allow localhost # allow localhost to connect to the server and allow admin:monit # require user 'admin' with password 'monit' # Include all templates from this directory. include /usr/local/etc/monit/conf.d/*