Check for Updates does not use the Configured Proxy

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mopp
Posts: 64
Joined: Thu Aug 20, 2015 7:15 am

Check for Updates does not use the Configured Proxy

Post by mopp »

It is the same problem as already discussed in this thread https://support.nagios.com/forum/viewto ... 16&t=35601.
The proxy is configured in the Nagios XI web interface, the "Check for Updates Now" button works.
But "Upgrade to latest Version" will fail because the web interface starts "wget https://assets.nagios.com/downloads/nag ... est.tar.gz" without using the proxy settings configured in the web interface.

Can you please implement it to use the proxy settings configured in the web interface the same way you already did for the "Manage Components" download.

You can close the the thread if you accept it as a feature request / bug.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Check for Updates does not use the Configured Proxy

Post by lmiltchev »

What is the version of the Nagios XI and the "Proxy Configuration" component that you are currently using? I believe, the latest component should allow you to upgrade from the web UI from Nagios XI 5.2.2 to 5.2.3.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mopp
Posts: 64
Joined: Thu Aug 20, 2015 7:15 am

Re: Check for Updates does not use the Configured Proxy

Post by mopp »

lmiltchev wrote:What is the version of the Nagios XI and the "Proxy Configuration" component that you are currently using? I believe, the latest component should allow you to upgrade from the web UI from Nagios XI 5.2.2 to 5.2.3.
I was using the version 5.2.2 to test the update, with 5.2.3 I was not able to test it because 5.2.3 will not find an update.
With 5.2.2 the update component using proxy works fine.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Check for Updates does not use the Configured Proxy

Post by lmiltchev »

You said:
The proxy is configured in the Nagios XI web interface, the "Check for Updates Now" button works.
...
But "Upgrade to latest Version" will fail...
and also said:
With 5.2.2 the update component using proxy works fine.
Did the upgrade from the web UI work (with the proxy component configured in XI) for you or it didn't? Can you clarify?
Be sure to check out our Knowledgebase for helpful articles and solutions!
mopp
Posts: 64
Joined: Thu Aug 20, 2015 7:15 am

Re: Check for Updates does not use the Configured Proxy

Post by mopp »

My Proxy Configuration component version is 1.1.2
Nagios XI 5.2.2

The check update button finds a new update, but wget does not use the proxy. I can see in netstat a direct connection to nagios.com
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Check for Updates does not use the Configured Proxy

Post by ssax »

Did you make any modifications on the working one to /etc/wgetrc?
mopp
Posts: 64
Joined: Thu Aug 20, 2015 7:15 am

Re: Check for Updates does not use the Configured Proxy

Post by mopp »

No I didn' t change the wgetrc, for sure it will work if I do so.
As discussed in https://support.nagios.com/forum/viewto ... 16&t=35601 the proxy component should work for everything in the web interface.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Check for Updates does not use the Configured Proxy

Post by ssax »

Agreed, a bug report has been filed:

Code: Select all

NEW TASK ID 7256 created - Nagios XI Bug Report: When using a proxy, the update check works but the upgrade fails on the wget
Thank you for reporting it!
Locked