check_ssl_cert ssl handshake error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
cdm
Posts: 7
Joined: Thu Mar 21, 2019 4:04 pm

check_ssl_cert ssl handshake error

Post by cdm »

Hello All,

I'm getting ssl handshake errors when using a check_ssl_cert Nagios plugin.

Specifically - 140790E5:SSL routines:ssl23_write:ssl handshake failure:s23_lib.c:177:

I know it's probably a timeout or server is busy issue - but I'd like it not to go in critical state and send alerts.

I've got this defined in my 'define host' : max_check_attempts 5

How can I make it keep trying until it succeeds ? I'm just trying to keep track of the days before the cert expires.

If all else fails - i might just write a text file with cert expiration but rather not do that.

I'm using this plugin:

https://github.com/matteocorti/check_ssl_cert



If anyone can help - it'd be nice.

Chris
Locked