configuration-templates – Diff between revs 30 and 50

Subversion Repositories:
Rev:
Only display areas with differencesIgnore whitespace
Rev 30 Rev 50
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 process mysql with pidfile /var/run/mysqld/mysqld.pid 5 check process mysql with pidfile /var/run/mysqld/mysqld.pid
6 group mysql 6 group mysql
-   7 depend mysql_bin
-   8 depend mysql_rc
7 start program = "/etc/init.d/mysql start" 9 start program = "/etc/init.d/mysql start"
8 stop program = "/etc/init.d/mysql stop" 10 stop program = "/etc/init.d/mysql stop"
9 if failed host localhost port 3306 protocol mysql with timeout 15 seconds for 3 times within 4 cycles then restart 11 if failed host localhost port 3306 protocol mysql with timeout 15 seconds for 3 times within 4 cycles then restart
10 if failed unixsocket /var/run/mysqld/mysqld.sock protocol mysql for 3 times within 4 cycles then restart 12 if failed unixsocket /var/run/mysqld/mysqld.sock protocol mysql for 3 times within 4 cycles then restart
11 if 5 restarts with 5 cycles then timeout 13 # if 5 restarts with 5 cycles then timeout
12 depend mysql_bin -  
13 depend mysql_rc -  
14 14
15 check file mysql_bin with path /usr/sbin/mysqld 15 check file mysql_bin with path /usr/sbin/mysqld
16 group mysql 16 group mysql
17 if failed checksum then unmonitor 17 if failed checksum then alert
18 if failed permission 755 then unmonitor 18 if failed permission 755 then alert
19 if failed uid root then unmonitor 19 if failed uid root then alert
20 if failed gid root then unmonitor 20 if failed gid root then alert
21 21
22 check file mysql_rc with path /etc/init.d/mysql 22 check file mysql_rc with path /etc/init.d/mysql
23 group mysql 23 group mysql
24 if failed checksum then unmonitor -  
25 if failed permission 755 then unmonitor -  
26 if failed uid root then unmonitor -  
27 if failed gid root then unmonitor -  
28   24 if failed checksum then alert
-   25 if failed permission 755 then alert
-   26 if failed uid root then alert
-   27 if failed gid root then alert
-   28  
29
Generated by GNU Enscript 1.6.5.90.
29
Generated by GNU Enscript 1.6.5.90.
30   30  
31   31  
32   32