Nagios core CLI is working but Nagios web console is not.

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios core CLI is working but Nagios web console is not

Post by ssax »

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
Your proxy is refusing for some reason, please validate with your Proxy Admins:

< 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."
                                        ],
satya
Posts: 8
Joined: Mon Oct 08, 2018 7:39 am

Re: Nagios core CLI is working but Nagios web console is not

Post by satya »

Hi ssax,

Thanks for pointing it out. Let me have a word with the internal team and will let you know :)

Regards,
Satya
satya
Posts: 8
Joined: Mon Oct 08, 2018 7:39 am

Re: Nagios core CLI is working but Nagios web console is not

Post by satya »

Hi ssax,

I had a word with the team, there is no such proxy set. We tried disabling our external firewall but still the issue exists.

Regards,
Satya
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios core CLI is working but Nagios web console is not

Post by scottwilkerson »

satya wrote:Hi ssax,

I had a word with the team, there is no such proxy set. We tried disabling our external firewall but still the issue exists.

Regards,
Satya
What did they say about this?

Code: Select all

Via: HTTP/1.1 forward.http.proxy:3128
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked