monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monit did not restart mysql


From: frwa onto
Subject: Re: Monit did not restart mysql
Date: Sat, 1 Jun 2013 23:03:47 +0800

Hi Sven,
            I already have it as 127.0.0.1 see below
check process mysqld with pidfile /var/run/mysqld/mysqld.pid
   start 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 restart
   if 5 restarts within 5 cycles then timeout


On Sat, Jun 1, 2013 at 8:25 PM, sven falempin <address@hidden> wrote:
127.0.1.1

xd


On Sat, Jun 1, 2013 at 2:58 AM, frwa onto <address@hidden> wrote:
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.pid
   start 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 restart
   if 5 restarts within 5 cycles then timeout


Regards,
Frwa.

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general



--
---------------------------------------------------------------------------------------------------------------------
() ascii ribbon campaign - against html e-mail 
/\ 

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general


reply via email to

[Prev in Thread] Current Thread [Next in Thread]