configuration-templates – Diff between revs 49 and 50

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 49 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 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 unmonitor 7 if failed uid root then alert
Line 8... Line 8...
8 # if failed gid root then unmonitor 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
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
25 # if 5 restarts within 5 cycles then timeout 25 # if 5 restarts within 5 cycles then timeout
Line 26... Line 26...
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 unmonitor 29 if failed checksum then alert
30 # if failed permission 755 then unmonitor 30 if failed permission 755 then alert
31 # if failed uid root then unmonitor 31 if failed uid root then alert