check http sometimes cant make SSL connection
Posted: Fri Nov 26, 2021 8:14 am
Hello,
I am running this command to check the certificate of a NetApp Appliance:
The 90% of the time, the result is
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):
I tried a lot of variations of the command (with -S, without -S, --sni, --ssl=1.2+, etc).
Is there something else I could check?
Because I think that the problem is not in the check...
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...