Website Checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Website Checks

Post 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
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!
RebeccaIlene
Posts: 164
Joined: Tue Apr 02, 2019 8:38 pm

Re: Website Checks

Post by RebeccaIlene »

Hi Benjamin,

Tried increasing the service check timeout to 120 seconds but still no response, it timed out.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Website Checks

Post 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.
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!
RebeccaIlene
Posts: 164
Joined: Tue Apr 02, 2019 8:38 pm

Re: Website Checks

Post by RebeccaIlene »

Hi Banjamin,

You can close this thread for now. I will raise a support center ticket if required.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Website Checks

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked