]> git.pld-linux.org Git - packages/mysql.git/blob - mysql.monitrc
- there is now mysql-client.conf which is always processed by mysql_init()
[packages/mysql.git] / mysql.monitrc
1 check process mysql with pidfile /var/lib/mysql/mysql.pid
2         group database
3         start program = "/etc/init.d/mysql restart"
4         stop program = "/etc/init.d/mysql stop"
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
17 check file mysql_rc with path /etc/init.d/mysql
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
This page took 0.021135 seconds and 3 git commands to generate.