configuration-templates – Blame information for rev 116

Subversion Repositories:
Rev:
Rev Author Line No. Line
27 office 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ###########################################################################
4  
5 set daemon 120 # check services at 2-minute intervals
6 set logfile /var/log/monit.log
7 set idfile /var/lib/monit/id
8 set statefile /var/lib/monit/state
9 set eventqueue
10 basedir /var/lib/monit/events # set the base directory where events will be stored
11 slots 100 # optionally limit the queue size
12 set httpd port 2812 and
13 use address localhost # only accept connection from localhost
14 allow localhost # allow localhost to connect to the server and
15  
16 # Enable only if using mmonit and set the IP and credentials accordingly.
17 # set mmonit http://monit:monit@192.168.0.1:8080/collector
18 # and register without credentials # Don't register credentials
19  
20 # Include all templates from this directory.
21 include /etc/monit/conf.d/*