Re: Nagios core CLI is working but Nagios web console is not
Posted: Mon Jan 07, 2019 4:59 pm
Code: Select all
lendingkart@LK-LP-565:~$ curl -L nagios.lendingkart.com -vvv
* Rebuilt URL to: nagios.lendingkart.com/
* Trying 172.31.32.238...
* Connected to nagios.lendingkart.com (172.31.32.238) port 80 (#0)
> GET / HTTP/1.1
> Host: nagios.lendingkart.com
> User-Agent: curl/7.47.0
> Accept: */*
>
< HTTP/1.1 502 Connection refused
< Date: Fri, 04 Jan 2019 07:56:43 GMT
< Cache-Control: no-cache
< Pragma: no-cache
< Content-Type: text/html; charset="UTF-8"
< Content-Length: 71993
< Via: HTTP/1.1 forward.http.proxy:3128
< HTTP/1.1 502 Connection refused
< Date: Fri, 04 Jan 2019 07:56:43 GMT
< Via: HTTP/1.1 forward.http.proxy:3128
That's why the internal one that you ran when it was not working actually worked.
So for some reason your proxy is not allowing it *SOMETIMES*, your proxy admins will need to check the logs.
We can see it from the output:
Code: Select all
generateText('connection_fail');
connection_fail: [
NOT_AVAIL, SITE_NOT_AVAIL,
'The website you requested cannot be accessed. It may work if you try again later.',
"We found the website's address but were unable to connect to the web server."
],