check http sometimes cant make SSL connection

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
Nalagios
Posts: 5
Joined: Fri Nov 26, 2021 8:06 am

check http sometimes cant make SSL connection

Post 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...
Nalagios
Posts: 5
Joined: Fri Nov 26, 2021 8:06 am

Re: check http sometimes cant make SSL connection

Post by Nalagios »

It was because the appliance to monitor had not enough resources to be monitored properly.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: check http sometimes cant make SSL connection

Post 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!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked