I would like to first express my astonishment at the Checkmk product. It’s quite a monitoring system!
I am still in the testing period and I’ve come across something, that I am unable to figure out.
The mk_mysql plugin provides a ton of information, however, it is by:
socket
alias
This is great if you have multiple instances indeed, however, if I set it up on a single MySQL service I get 4 different checks for example:
Mysql version /var/run/mysqld/mysqld2.sock → The version
Mysql Version Alias1 > The version
Mysql Version Alias2 > The version
Mysql Version mysql > The version
And this is the same for the database sizes, the Innodb stats, etc.
How can I limit this to only local connections by using username/password, without any sockets, or aliases?
Thanks a lot for the guidance. I’ve edited the mysql.cfg and now indeed the additional services are gone, but I still have:
MySQL Instance /var/run/mysqld/mysqld2.sock amysqladmin: connect to server at ‘localhost’ failed
MySQL Instance Alias1 amysqladmin: connect to server at ‘localhost’ failed
MySQL Instance Alias3 amysqladmin: connect to server at ‘localhost’ failed
Do I need to disable these checks or there are additional modifications that I can make?