configuration-templates – Blame information for rev 32
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
32 | office | 1 | ########################################################################### |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
||
3 | ########################################################################### |
||
4 | |||
5 | set daemon 30 # check services at 30 seconds intervals |
||
6 | set logfile syslog |
||
7 | set pidfile /usr/local/var/run/monit.pid |
||
8 | |||
9 | # Enable only if using mmonit and set the IP and credentials accordingly. |
||
10 | # set mmonit http://monit:monit@192.168.0.1:8080/collector |
||
11 | # and register without credentials # Don't register credentials |
||
12 | |||
13 | set httpd port 2812 and |
||
14 | use address localhost # only accept connection from localhost |
||
15 | allow localhost # allow localhost to connect to the server and |
||
16 | allow admin:monit # require user 'admin' with password 'monit' |
||
17 | |||
18 | # Include all templates from this directory. |
||
19 | include /usr/local/etc/monit/conf.d/* |