How to monitor MySQL socket using icinga2
I would like to monitor my MySQL server using icinga2 as the title shows above. My MySQL server uses a unix socket. I tried the following: object Service “MYSQL” { import “generic-service” check_command = “mysql” vars.mysql_query_hostname = “/var/run/mysqld/mysqld.sock” vars.mysql_ignore_auth = true vars.mysql_port = 6800 host_name = “mysql.server” } and I restart the icinga2 service. When … Read more