r14: - depend o novijem monitu
[monit-cn.git] / monit-cn / mysqld.conf
1 # mysql monit-cn template
2
3 check process mysql with pidfile "/var/run/mysqld/mysqld.pid"
4         start program = "/etc/init.d/mysql start"
5         stop program = "/etc/init.d/mysql stop"
6         if failed host 127.0.0.1 port 3306 protocol mysql
7                 with timeout 10 seconds
8                 then restart