# Mysql SSL expiry check from a remote server

**URL:** <https://community.icinga.com/t/mysql-ssl-expiry-check-from-a-remote-server/10805>\
**Category:** Icinga 2\
**Tags:** plugins, mysql, icingaweb2, director\
**Created:** [October 12, 2022, 5:53pm UTC](https://community.icinga.com/t/mysql-ssl-expiry-check-from-a-remote-server/10805 "2022-10-12T17:53:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![masterluke](https://community.icinga.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@masterluke](https://community.icinga.com/u/masterluke)\
**Post date:** [October 12, 2022, 5:53pm UTC](https://community.icinga.com/t/mysql-ssl-expiry-check-from-a-remote-server/10805/1 "2022-10-12T17:53:58Z")

</div>

Hello

I want to monitor the SSL certificate expiry of MySQL server hosted remotely. There is an option in check\_ssl\_cert plugin “–protocol mysql” but it doesnt seem to work when I mention host IP and port (mysql port number).  
Am I using this plugin wrongly or is there any other plugin available to achieve this?

Master and node icinga versions: r2.13.3-1  
OS: Ubuntu 20.04
