Hello All,
I am sure I won't be the last person to be caught by this issue for AWS Servers, and until Nagios implements support for SSL in the Check_xi_mysql_health, here is what we were able to work out.
These lines were added to the plugin file at line 1863
$self->{dsn} .= ";mysql_ssl=1";
$self->{dsn} .= ";mysql_ssl_verify_server_cert=1";
$self->{dsn} .= ";mysql_ssl_ca_file=/etc/ssl/mysql/ca.crt";
The cert used was the RDS CA Root Certificate which can be downloaded from the AWS Documentation or obtained from AWS.
check_xi_mysql_health does not support SSL
-
Tonysnorek
- Posts: 7
- Joined: Thu May 10, 2018 2:37 pm
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: check_xi_mysql_health does not support SSL
Thanks for sharing