Thank you Noel - that seems to be a step in the right direction. I've come up with a config. Syntax using that:
if failed host server.fqdn port 3306 type TCP protocol MYSQL then restart Can anyone verify if this is the correct syntax? Thanks, Sourjya From: Noel [mailto:[email protected]] Sent: Friday, January 25, 2013 11:54 AM To: [email protected]; This is the general mailing list for monit Subject: Re: MySQL DB Connectivity Example Have you looked at the send/expect features of connection testing? http://mmonit.com/monit/documentation/monit.html#connection_testing -- Noel Jones On 1/24/2013 10:02 PM, Sourjya Sankar Sen 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
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
