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
Update Components using a Proxy
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Update Components using a Proxy
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.
Re: Update Components using a Proxy
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.
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.
Re: Update Components using a Proxy
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.
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!
Re: Update Components using a Proxy
I' m pretty sure it will work if I add the information to /etc/wgetrc.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.
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.
Re: Update Components using a Proxy
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?
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
Re: Update Components using a Proxy
Thank you, please close the thread