Page 2 of 2

Re: Website Checks

Posted: Thu Sep 03, 2020 2:24 pm
by benjaminsmith
Hi Rebecca,

That output is really helpful. The plugin is certainly working as you would expect. It's connecting then following the redirect, but it's that last connection that is stalling. It's timing out before any HTTP status code is returned.

If you would like to increase the timeout beyond 60 seconds, then there is a global setting in the main Nagios configuration file that will need to be adjusted. Generally speaking, it's good to maintain limits here in case there is a runway process that needs to be terminated. I would try to increase this to 120, and test once more.

Code: Select all

/usr/local/nagios/etc/nagios.cfg
Format:	service_check_timeout=<seconds>
Example:	service_check_timeout=60
See: https://assets.nagios.com/downloads/nag ... gmain.html

Re: Website Checks

Posted: Thu Sep 10, 2020 2:57 am
by RebeccaIlene
Hi Benjamin,

Tried increasing the service check timeout to 120 seconds but still no response, it timed out.

Re: Website Checks

Posted: Thu Sep 10, 2020 5:35 pm
by benjaminsmith
Hi Rebecca,

Hmmm... if the website is loading but check_http is timing out, this is a puzzler. I don't believe the plugin is failing as it's able to connect initially but is timing out on the redirect pages.

Let's move this one over to a support ticket, so we have the option to set up a session if necessary to troubleshoot further. Thank you for your patience.

To open a support ticket, go to:
https://support.nagios.com/tickets/

Please reference this forum thread in the ticket.

Re: Website Checks

Posted: Thu Oct 01, 2020 9:03 pm
by RebeccaIlene
Hi Banjamin,

You can close this thread for now. I will raise a support center ticket if required.

Re: Website Checks

Posted: Fri Oct 02, 2020 8:19 am
by scottwilkerson
RebeccaIlene wrote:Hi Banjamin,

You can close this thread for now. I will raise a support center ticket if required.
Great!

Closing thread