########################################################################### ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## ########################################################################### set daemon 120 # check services at 2-minute intervals set logfile /var/log/monit.log set idfile /var/lib/monit/id set statefile /var/lib/monit/state set eventqueue basedir /var/lib/monit/events # set the base directory where events will be stored slots 100 # optionally limit the queue size set httpd port 2812 and use address localhost # only accept connection from localhost allow localhost # allow localhost to connect to the server and # 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 # Include all templates from this directory. include /etc/monit/conf.d/*