]> git.pld-linux.org Git - packages/mysql.git/blame - mysql.monitrc
- use dosini comments to make vim (and me) happy
[packages/mysql.git] / mysql.monitrc
CommitLineData
90431701
PG
1check 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
10check 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
17check 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.179778 seconds and 4 git commands to generate.