monit-general
[Top][All Lists]
Advanced

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

Re: MySQL DB Connectivity Example


From: Michael Johnson - MJ
Subject: Re: MySQL DB Connectivity Example
Date: Thu, 24 Jan 2013 20:20:28 -0800

Not really enough info here to say what is goin on for certain, but it sounds like it could be an iptables issue.  How are you testing with telnet?  Are you using the same hostname or ip address as is in your monit config?  Are you testing from the server that is running monit?  If not, you are not testing the same thing monit is checking.

When you telnet and connect are you getting some jibberish back?  If you are not actually getting a connection.

You can try stracing the monit process to see what it is doing.  You might also try using tcpdump to see what is happening with the connection.

Hope this is at least somewhat helpful.


On Thu, Jan 24, 2013 at 8:02 PM, Sourjya Sankar Sen <address@hidden> wrote:

Hello,

   I’m facing this issue with MySQL Server – the server process keeps running and you can do a check by telnet-ing to 3306 and it connects. But that’s where the server hangs. The standard monit config. For MySQL isn’t able to detect this issue, as both process & connection are working. If there a way, I can make monit not just connect, but authenticate and load a database as well to see if the server is actually in operational mode?

 

Thanks,

Sourjya


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



--
Michael Johnson - MJ

reply via email to

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