]> git.pld-linux.org Git - packages/monit.git/blob - monitrc
- release 2
[packages/monit.git] / monitrc
1 ###############################################################################
2 ## Monit control file
3 ###############################################################################
4 ##
5 ## Comments begin with a '#' and extend through the end of the line. Keywords
6 ## are case insensitive. All path's MUST BE FULLY QUALIFIED, starting with '/'.
7 ##
8
9 include /etc/monit/*.monitrc
10
11 ###############################################################################
12 ## Global section
13 ###############################################################################
14 ##
15
16 ## Set list of mailservers for alert delivery. Multiple servers may be 
17 ## specified using comma separator. By default monit uses port 25 - it is 
18 ## possible to override it with the PORT option.
19 #
20 set mailserver localhost               # primary mailserver
21
22 ## You can set the alert recipients here, which will receive the alert for
23 ## each service. The event alerts may be restricted using the list.
24 #
25 set alert root@localhost                        # receive all alerts
26
27 ## Monit has an embedded webserver, which can be used to view the 
28 ## configuration, actual services parameters or manage the services using the 
29 ## web interface.
30 #
31 set httpd port 2812 and
32      use address localhost  # only accept connection from localhost
33      allow localhost        # allow localhost to connect to the server and
34      allow admin:monit      # require user 'admin' with password 'monit'
This page took 0.035765 seconds and 3 git commands to generate.