configuration-templates – Diff between revs 50 and 132
?pathlinks?
Rev 50 | Rev 132 | |||
---|---|---|---|---|
Line 8... | Line 8... | |||
8 | if failed gid root then alert |
8 | if failed gid root then alert |
|
Line 9... | Line 9... | |||
9 | |
9 | |
|
10 | check process smbd with pidfile /var/run/samba/smbd.pid |
10 | check process smbd with pidfile /var/run/samba/smbd.pid |
|
11 | group samba |
11 | group samba |
|
12 | depends on smbd_bin |
12 | depends on smbd_bin |
|
13 | start program = "/etc/init.d/samba restart" |
13 | start program = "/etc/init.d/smbd restart" |
|
14 | stop program = "/etc/init.d/samba stop" |
14 | stop program = "/etc/init.d/smbd stop" |
|
15 | if failed host 127.0.0.1 port 139 type TCP then restart |
15 | if failed host 127.0.0.1 port 139 type TCP then restart |
|
Line 16... | Line 16... | |||
16 | # if 5 restarts within 5 cycles then timeout |
16 | # if 5 restarts within 5 cycles then timeout |
|
17 | |
17 | |
|
18 | check process nmbd with pidfile /var/run/samba/nmbd.pid |
18 | check process nmbd with pidfile /var/run/samba/nmbd.pid |
|
19 | group samba |
19 | group samba |
|
20 | depends on nmbd_bin |
20 | depends on nmbd_bin |
|
21 | start program = "/etc/init.d/samba restart" |
21 | start program = "/etc/init.d/nmbd restart" |
|
22 | stop program = "/etc/init.d/samba stop" |
22 | stop program = "/etc/init.d/nmbd stop" |
|
23 | if failed host 127.0.0.1 port 138 type UDP then restart |
23 | if failed host 127.0.0.1 port 138 type UDP then restart |
|
Line 24... | Line 24... | |||
24 | if failed host 127.0.0.1 port 137 type UDP then restart |
24 | if failed host 127.0.0.1 port 137 type UDP then restart |