]>
Commit | Line | Data |
---|---|---|
4b7f41ce ER |
1 | --- monit-5.9/monitrc 2014-10-27 17:33:09.741090635 +0200 |
2 | +++ monit-5.9/monitrc 2014-10-27 17:35:35.171362348 +0200 | |
3 | @@ -51,7 +51,8 @@ | |
4 | ## specified using a comma separator. If the first mail server fails, Monit | |
5 | # will use the second mail server in the list and so on. By default Monit uses | |
6 | # port 25 - it is possible to override this with the PORT option. | |
7 | -# | |
8 | + | |
9 | +set mailserver localhost | |
10 | # set mailserver mail.bar.baz, # primary mailserver | |
11 | # backup.bar.baz port 10025, # backup mailserver on port 10025 | |
12 | # localhost # fallback relay | |
13 | @@ -108,9 +109,9 @@ | |
14 | ## You can set alert recipients whom will receive alerts if/when a | |
15 | ## service defined in this file has errors. Alerts may be restricted on | |
16 | ## events by using a filter as in the second example below. | |
17 | -# | |
18 | -# set alert sysadm@foo.bar # receive all alerts | |
19 | -# | |
20 | + | |
21 | +set alert root@localhost # receive all alerts | |
22 | + | |
23 | ## Do not alert when Monit starts, stops or performs a user initiated action. | |
24 | ## This filter is recommended to avoid getting alerts for trivial cases. | |
25 | # | |
26 | @@ -256,3 +257,2 @@ | |
27 | -# | |
28 | -# include /etc/monit.d/* | |
29 | -# | |
30 | + | |
31 | +include /etc/monit/*.monitrc |