Re: Website Checks
Posted: Thu Sep 03, 2020 2:24 pm
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.
See: https://assets.nagios.com/downloads/nag ... gmain.html
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