Page 1 of 1

check http sometimes cant make SSL connection

Posted: Fri Nov 26, 2021 8:14 am
by Nalagios
Hello,

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
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):

Code: Select all

CRITICAL - Cannot make SSL connection.
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...

Re: check http sometimes cant make SSL connection

Posted: Tue Nov 30, 2021 9:59 am
by Nalagios
It was because the appliance to monitor had not enough resources to be monitored properly.

Re: check http sometimes cant make SSL connection

Posted: Wed Dec 01, 2021 2:48 pm
by benjaminsmith
Hi,
It was because the appliance to monitor had not enough resources to be monitored properly.
Glad you figure this one out, and many thanks for posting the solution.

We'll go ahead and close this one out.

Thank you for participating in the Nagios Community Forum!