]>
Commit | Line | Data |
---|---|---|
dc852a7a | 1 | check process mysql with pidfile /var/lib/mysql/mysqldb/mysql.pid |
90431701 | 2 | group database |
b4dd5d65 ER |
3 | start program = "/etc/rc.d/init.d/mysql restart" |
4 | stop program = "/etc/rc.d/init.d/mysql stop" | |
90431701 PG |
5 | if failed unix /var/lib/mysql/mysql.sock then restart |
6 | if 5 restarts within 5 cycles then timeout | |
7 | depends on mysql_bin | |
8 | depends on mysql_rc | |
9 | ||
10 | check file mysql_bin with path /usr/sbin/mysqld | |
11 | group database | |
12 | if failed checksum then unmonitor | |
13 | if failed permission 755 then unmonitor | |
14 | if failed uid root then unmonitor | |
15 | if failed gid root then unmonitor | |
16 | ||
b4dd5d65 | 17 | check file mysql_rc with path /etc/rc.d/init.d/mysql |
90431701 PG |
18 | group database |
19 | if failed checksum then unmonitor | |
20 | if failed permission 754 then unmonitor | |
21 | if failed uid root then unmonitor | |
22 | if failed gid root then unmonitor | |
23 |