|
From: | sven falempin |
Subject: | Re: Monit did not restart mysql |
Date: | Sat, 1 Jun 2013 08:25:05 -0400 |
Hi All,We have this in our monit.conf. Earlier it was working smoothly when mysql goes down. Recently I just tried to stop mysqld and the monit did not restart it. But in the top I can see monit is running and I am using upstart so I just kill and it respawn again. Below is part of the config file.check process mysqld with pidfile /var/run/mysqld/mysqld.pidstart program = "/etc/init.d/mysqld start"stop program = "/etc/init.d/mysqld stop"if failed host 127.0.1.1 port 3306 protocol mysql then restartif 5 restarts within 5 cycles then timeoutRegards,Frwa.
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
[Prev in Thread] | Current Thread | [Next in Thread] |