External HTTP checks fail
Posted: Wed Dec 27, 2017 3:21 am
Hi guys
Really hope you can help me with this.
Whenever I try to monitor an external website the check on the HTTP(s) service it fails. When I try this on internal HTTP(s) sites it works fine.
I've read in a couple of forums online that I need to raise the timeout by adding the "-t" parameter to $ARG1$ and add whatever time in seconds I want. When I do this with "-t 30" it just fails after 30 seconds.
The exact error is: CRITICAL - Socket timeout after 30 seconds
Even my test check on google.com fails
It seems that it's only external webservices that face-plant so figured that I needed to configure my HTTP Proxy.
I configured the proxy in the following places:
Am I missing something really obvious here?
Really hope you can help me with this.
Whenever I try to monitor an external website the check on the HTTP(s) service it fails. When I try this on internal HTTP(s) sites it works fine.
I've read in a couple of forums online that I need to raise the timeout by adding the "-t" parameter to $ARG1$ and add whatever time in seconds I want. When I do this with "-t 30" it just fails after 30 seconds.
The exact error is: CRITICAL - Socket timeout after 30 seconds
Even my test check on google.com fails
It seems that it's only external webservices that face-plant so figured that I needed to configure my HTTP Proxy.
I configured the proxy in the following places:
- http://nagios-server/nagiosxi/includes/ ... config.php
/etc/yum.conf
/etc/wgetrc
Am I missing something really obvious here?