Update Components using a 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

Update Components using a Proxy

Post by mopp »

Hello,

the proxy is configured in the web interface (Proxy Configuration).
Managa Components: Check for Updates works and shows every new package. But I cannot update the components
But when I click on install it will not download the package. On the command line I' ve seen a wget process to download the component.
It looks like the proxy configuration is not used with wget
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Update Components using a Proxy

Post by Box293 »

Which version of Nagios XI are you experiencing this on?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mopp
Posts: 64
Joined: Thu Aug 20, 2015 7:15 am

Re: Update Components using a Proxy

Post by mopp »

I' m using the latest version Nagios XI 5.2.0
No /etc/wgetrc or other global configuration file is configured. It is the default configuration from the Nagios XI appliance. After that I configured the proxy in the web interface.
And I clicked the install button which triggers the wget download.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Update Components using a Proxy

Post by lmiltchev »

Try configuring your proxy by following the steps described on our FAQ wiki page:

https://support.nagios.com/wiki/index.p ... th_Proxies

Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
mopp
Posts: 64
Joined: Thu Aug 20, 2015 7:15 am

Re: Update Components using a Proxy

Post by mopp »

lmiltchev wrote:Try configuring your proxy by following the steps described on our FAQ wiki page:

https://support.nagios.com/wiki/index.p ... th_Proxies

Let us know if this helped.
I' m pretty sure it will work if I add the information to /etc/wgetrc.
If I configure the proxy in the web interface I expect it to work with all functions and not only some functions of the web interface. This way you never know which proxy configuration is used. And configuring the wgetrc might cause problems with some check scripts using the wget command.
My wish would be either to use a php function to download the files, which is already used for checking the component versions.
Or just set the http/https_proxy environment variables based on the nagios web settings before running wget or start wget with the parameter https_proxy (but this will show the proxy password in the process list)

Both should not be to difficult to implement.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Update Components using a Proxy

Post by rkennedy »

For now, the response @lmiltchev posted is the best route.

I understand where you're coming from, and I spoke with the developers about this. They agreed that this would make a good feature, and for that reason I have created the request, ID 6922. It is now on the roadmap!

As a feature request has been created for this, do you mind if I close this thread out?
Former Nagios Employee
mopp
Posts: 64
Joined: Thu Aug 20, 2015 7:15 am

Re: Update Components using a Proxy

Post by mopp »

Thank you, please close the thread
Locked