I think you should use a specific MySQL check that does authentication
instead of simply establish a tcp connection.
Make sure that the check uses MySQL tcp connection protocol and not Unix
socket (if the machine to check is the same as Opsview.

Regards
Il giorno 18/gen/2011 16.53, "Shibashish" <[email protected]> ha scritto:
>>
>> I am doing a tcp check for mysql...
>>
>> check_tcp -H 192.168.1.111 -p 3306 -w 2 -c 5
>>
>> After a while, probably after 10 checks, i am not able to connect to my
>> mysql server from the opsview server on the commandline, the error...
>>
>> ERROR 1129 (00000): Host 'opsview.example.com' is blocked because of many
>> connection errors; unblock with 'mysqladmin flush-hosts'
>>
>> On the mysql server, i can see that "max_connect_errors = 10" is set due
to
>> which this is happening. Why doesn't Opsview connect and disconnect
>> gracefully or how to overcome this??
>>
>> Using opsview-3.9.1.5340-1.ct5
>>
>> ShiB.
>> while ( ! ( succeed = try() ) );
>>
_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to