I am running this command to check the certificate of a NetApp Appliance:
Code: Select all
/usr/lib64/nagios/plugins/check_http -H x.x.x.x -S --sni -C 40,0
SSL OK - Certificate 'localhost' will expire in 329 days on 2022-10-22 10:23 +0200/CEST.
But there are some moments where it alarms (but in the machine is OK):
Code: Select all
CRITICAL - Cannot make SSL connection.
Is there something else I could check?
Because I think that the problem is not in the check...