configuration-templates – Diff between revs 50 and 132

Subversion Repositories:
Rev:
Only display areas with differencesRegard whitespace
Rev 50 Rev 132
1 ########################################################################### 1 ###########################################################################
2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## 2 ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ##
3 ########################################################################### 3 ###########################################################################
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 group samba
7 if failed uid root then alert 7 if failed uid root then alert
8 if failed gid root then alert 8 if failed gid root then alert
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
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
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
25 # if 5 restarts within 5 cycles then timeout 25 # if 5 restarts within 5 cycles then timeout
26 26
27 check file nmbd_bin with path /usr/sbin/nmbd 27 check file nmbd_bin with path /usr/sbin/nmbd
28 group samba 28 group samba
29 if failed checksum then alert 29 if failed checksum then alert
30 if failed permission 755 then alert 30 if failed permission 755 then alert
31 if failed uid root then alert 31 if failed uid root then alert
32 if failed gid root then alert 32 if failed gid root then alert
33   33