configuration-templates – Diff between revs 27 and 50
?pathlinks?
Rev 27 | 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 postfix with pidfile /var/spool/postfix/pid/master.pid |
5 | check process postfix with pidfile /var/spool/postfix/pid/master.pid |
|
- | 6 | group mail |
||
6 | group mail |
7 | depends on postfix_rc |
|
7 | start program = "/etc/init.d/postfix start" |
8 | start program = "/etc/init.d/postfix start" |
|
8 | stop program = "/etc/init.d/postfix stop" |
9 | stop program = "/etc/init.d/postfix stop" |
|
9 | if failed port 25 protocol smtp then restart |
10 | if failed port 25 protocol smtp then restart |
|
10 | # if 5 restarts within 5 cycles then timeout |
- | ||
Line 11... | Line 11... | |||
11 | depends on postfix_rc |
11 | # if 5 restarts within 5 cycles then timeout |
|
12 | |
12 | |
|
13 | check file postfix_rc with path /etc/init.d/postfix |
- | ||
14 | group mail |
- | ||
15 | if failed checksum then unmonitor |
- | ||
16 | if failed permission 755 then unmonitor |
- | ||
17 | if failed uid root then unmonitor |
13 | check file postfix_rc with path /etc/init.d/postfix |
|
- | 14 | group mail |
||
- | 15 | if failed checksum then alert |
||
- | 16 | if failed permission 755 then alert |
||
- | 17 | if failed uid root then alert |
||
18 | if failed gid root then unmonitor |
18 | if failed gid root then alert |