check_xi_mysql_health does not support SSL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Tonysnorek
Posts: 7
Joined: Thu May 10, 2018 2:37 pm

Re: check_xi_mysql_health does not support SSL

Post by Tonysnorek »

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.
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

Post by scottwilkerson »

Thanks for sharing
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked