check process mysql matching "/usr/sbin/mysqld" start program "/usr/bin/systemctl start mysql.service" stop program "/usr/bin/systemctl stop mysql.service" if failed host 127.0.0.1 port 3306 then restart if failed unixsocket /var/lib/mysql/mysql.sock then restart if cpu > 80% for 4 cycles then alert if 4 restarts within 8 cycles then timeout