[Top][All Lists]

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

Re: [monit] Monit causes "Aborted_connects" in mysql ?

From: Scott Silva
Subject: Re: [monit] Monit causes "Aborted_connects" in mysql ?
Date: Mon, 23 Feb 2009 08:03:13 -0800
User-agent: Thunderbird (Windows/20081209)

on 2-20-2009 8:33 PM jenaimepaslesspam spake the following:
> Hi !
> I'm new with monit and find it just great.
> But here is a minor problem that I found and I couldn't get any relevant
> information about it.
> I set up local mysql server to be checked as above
> # check MySQL
> check process mysql with pidfile /var/run/mysqld/
> group database
> start program = "/etc/init.d/mysql start"
> stop program = "/etc/init.d/mysql stop"
> if failed host localhost port 3306 protocol mysql then restart
> if 5 restarts within 5 cycles then timeout
> # End check MySQL
> It works fine but every time monit launch this check I've got an
> "Aborted_connects" error in Mysql. The server is on, so no alert neither
> restart is done by monit, so that's OK.
> But, Mysql "Aborted_connects" is a good indication on break attempts, so
> I'd like to keep this value clear of monit's noise.
> Does anybody had this problem before ? Is there a way avoid monit to
> cause aborted connections ?
> Thanks for anybody help or tips,
That is how it works. It attempts a connection, and if there is no error it
drops and waits for the next scheduled check. It does the same on other
daemons it tests, just not all of them log disconnects like this. The logs
should show the aborted connects from localhost, so you should be able to
screen them out.

MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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