]> git.pld-linux.org Git - packages/monit.git/blame - config.patch
Release 3 (by relup.sh)
[packages/monit.git] / config.patch
CommitLineData
da59ea1b
JR
1diff -urNp -x '*.orig' monit-5.25.2.org/monitrc monit-5.25.2/monitrc
2--- monit-5.25.2.org/monitrc 2018-05-29 21:03:45.000000000 +0200
3+++ monit-5.25.2/monitrc 2021-10-05 22:43:27.407462292 +0200
4@@ -76,7 +76,8 @@ set log syslog
5 ## specified using a comma separator. If the first mail server fails, Monit
6 # will use the second mail server in the list and so on. By default Monit uses
4b7f41ce
ER
7 # port 25 - it is possible to override this with the PORT option.
8-#
9+
10+set mailserver localhost
11 # set mailserver mail.bar.baz, # primary mailserver
12 # backup.bar.baz port 10025, # backup mailserver on port 10025
13 # localhost # fallback relay
da59ea1b
JR
14@@ -137,9 +138,9 @@ set log syslog
15 ## You can set alert recipients whom will receive alerts if/when a
16 ## service defined in this file has errors. Alerts may be restricted on
4b7f41ce
ER
17 ## events by using a filter as in the second example below.
18-#
19-# set alert sysadm@foo.bar # receive all alerts
20-#
21+
22+set alert root@localhost # receive all alerts
23+
24 ## Do not alert when Monit starts, stops or performs a user initiated action.
25 ## This filter is recommended to avoid getting alerts for trivial cases.
26 #
da59ea1b
JR
27@@ -300,6 +301,5 @@ set httpd port 2812 and
28 ##
29 ## It is possible to include additional configuration parts from other files or
30 ## directories.
4b7f41ce
ER
31-#
32-# include /etc/monit.d/*
33-#
34+
35+include /etc/monit/*.monitrc
This page took 0.109746 seconds and 5 git commands to generate.