configuration-templates – Diff between revs 34 and 50
?pathlinks?
Rev 34 | Rev 50 | |||
---|---|---|---|---|
Line 2... | Line 2... | |||
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
|
3 | ########################################################################### |
3 | ########################################################################### |
|
Line 4... | Line 4... | |||
4 | |
4 | |
|
5 | check process exim with pidfile /var/run/exim4/exim.pid |
5 | check process exim with pidfile /var/run/exim4/exim.pid |
|
- | 6 | group Debian-exim |
||
- | 7 | depends on exim_bin |
||
6 | group Debian-exim |
8 | depends on exim_rc |
|
7 | start program = "/etc/init.d/exim4 start" |
9 | start program = "/etc/init.d/exim4 start" |
|
8 | stop program = "/etc/init.d/exim4 stop" |
10 | stop program = "/etc/init.d/exim4 stop" |
|
9 | if failed port 25 protocol smtp then restart |
11 | if failed port 25 protocol smtp then restart |
|
10 | if 5 restarts within 5 cycles then timeout |
- | ||
11 | depends on exim_bin |
- | ||
Line 12... | Line 12... | |||
12 | depends on exim_rc |
12 | # if 5 restarts within 5 cycles then timeout |
|
13 | |
13 | |
|
14 | check file exim_bin with path /usr/sbin/exim |
14 | check file exim_bin with path /usr/sbin/exim |
|
15 | group root |
15 | group root |
|
16 | if failed checksum then unmonitor |
16 | if failed checksum then alert |
|
17 | if failed permission 4755 then unmonitor |
17 | if failed permission 4755 then alert |
|
Line 18... | Line 18... | |||
18 | if failed uid root then unmonitor |
18 | if failed uid root then alert |
|
19 | if failed gid root then unmonitor |
19 | if failed gid root then alert |
|
20 | |
- | ||
21 | check file exim_rc with path /etc/init.d/exim4 |
- | ||
22 | group root |
- | ||
23 | if failed checksum then unmonitor |
- | ||
24 | if failed permission 755 then unmonitor |
20 | |
|
- | 21 | check file exim_rc with path /etc/init.d/exim4 |
||
- | 22 | group root |
||
- | 23 | if failed checksum then alert |
||
- | 24 | if failed permission 755 then alert |
||
25 | if failed uid root then unmonitor |
25 | if failed uid root then alert |