configuration-templates – Diff between revs 27 and 49

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 27 Rev 49
Line 1... Line 1...
1 ########################################################################### 1 ###########################################################################
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 file smbd_bin with path /usr/sbin/smbd
5 check file smbd_bin with path /usr/sbin/smbd 6 group samba
6 if failed uid root then unmonitor 7 # if failed uid root then unmonitor
7 if failed gid root then unmonitor -  
Line 8... Line 8...
8 group samba 8 # if failed gid root then unmonitor
-   9
-   10 check process smbd with pidfile /var/run/samba/smbd.pid
9 11 group samba
10 check process smbd with pidfile /var/run/samba/smbd.pid 12 depends on smbd_bin
11 start program = "/etc/init.d/samba restart" 13 start program = "/etc/init.d/samba restart"
12 stop program = "/etc/init.d/samba stop" 14 stop program = "/etc/init.d/samba stop"
13 if failed host 127.0.0.1 port 139 type TCP then restart -  
14 # if 5 restarts within 5 cycles then timeout -  
15 depends on smbd_bin 15 if failed host 127.0.0.1 port 139 type TCP then restart
16 group samba 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 start program = "/etc/init.d/samba restart" 21 start program = "/etc/init.d/samba restart"
21 stop program = "/etc/init.d/samba stop" 22 stop program = "/etc/init.d/samba stop"
22 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
23 if failed host 127.0.0.1 port 137 type UDP then restart -  
Line 24... Line 24...
24 # if 5 restarts within 5 cycles then timeout 24 if failed host 127.0.0.1 port 137 type UDP then restart
25 depends on nmbd_bin 25 # if 5 restarts within 5 cycles then timeout
26 -  
27 check file nmbd_bin with path /usr/sbin/nmbd -  
28 group samba -  
29 if failed checksum then unmonitor -  
30 if failed permission 755 then unmonitor 26
-   27 check file nmbd_bin with path /usr/sbin/nmbd
-   28 group samba
-   29 # if failed checksum then unmonitor
-   30 # if failed permission 755 then unmonitor