Poor proxy support at install script

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Poor proxy support at install script

Post by vmesquita »

Hi,

I would like to report the poor support for proxy servers in the script. Apart from setting the proxy variable, I had to manually hack the script to add proxy to different commands. I think this should be a point of improvement for the future, since users with less knowledge might have some difficult doing the install.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Poor proxy support at install script

Post by jolson »

I have submitted your suggestion as a feature request. Thanks for the feedback - I think that a proxy flag is a great idea.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
vmesquita
Posts: 315
Joined: Fri Aug 10, 2012 12:52 pm

Re: Poor proxy support at install script

Post by vmesquita »

Any update on on the request? I am updating to 1.4.1 and still the same issues with proxy are there.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Poor proxy support at install script

Post by tmcdonald »

It seems the internal task was canceled and marked "duplicate" but the task it was marked as a duplicate of is not in fact the same. This must have been closed in error, I'm speaking to the developers now to get clarification and will update this thread accordingly.
Former Nagios employee
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Poor proxy support at install script

Post by tmcdonald »

Unfortunately the developers have decided not to add this in at this time.
Former Nagios employee
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Poor proxy support at install script

Post by scottwilkerson »

If your server requires proxies to access the Internet, it would be recommended to setup the server with the correct settings.

We have a document that outlines what should be changed in many cases here:
https://support.nagios.com/kb/article.php?id=147

While this document is for Nagios XI, the steps would be the same for Nagios Log Server also.

We do not recommend changing anything in the install or upgrade scripts.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Poor proxy support at install script

Post by eloyd »

I may be misreading things here, and for that, I apologize, but is it the official stance of Nagios Enterprises that their products are not supported for installation behind a proxy? If so, I have to respectfully disagree with that strategic decision. More and more sites are going to be behind proxies, cut off from repos, and on isolated networks. Relying on a pure internet connection to be able to install things is likely to result in customers being unable to use Nagios and thus unwilling to spend money to purchase it. In fact, we had that very case with what would have been a very large corporate customer of ours. They decided to go with [Radio Edit] instead of Nagios because the machine that it needed to be installed on was forbidden from connecting to any public internet.

I get that there are limited resources and all that, but I think it would be worthwhile to add full proxy support. It's a lot easier than a completely offline install, for instance.


Now, if I'm misreading something, I apologize.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
jomann
Development Lead
Posts: 611
Joined: Mon Apr 22, 2013 10:06 am
Location: Nagios Enterprises

Re: Poor proxy support at install script

Post by jomann »

I am not actually sure why that document says it's unsupported. Besides us adding the ability to pass in proxy credentials to the install script - making sure the entire OS is able to run through the proxy will allow the install to happen. I'll go as far as saying it most likely says it's unsupported because we don't support the actual proxy and if you have an issue downloading X package then you need to figure out why you can't access it via your proxy. The article Scott linked should take care of that though, as long as things like assets.nagios.com, api.nagios.com, and the repos (including epel) for your Cent/RHEL install are available.

@eloyd - If you require an offline install; we have those available. The offline tarball requires absolutely no network connection to the outside. If you would rather clone repos we have nagios repos available also that can be cloned and used to install in more secured environments also. Both are available at repo.nagios.com.

The article Scott linked should work for any of the installs, however, there is not support internally in NLS/NNA for configuring the proxy once the actual product is installed... meaning things like update checks (essentially anything running through curl) does not have access to the internet ... which may or may not be necessary for you or even work for you with the proxy enabled although there is a feature request to add that support for all products. It already exists inside XI.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: Poor proxy support at install script

Post by eloyd »

@j, the offline install was in its infancy at the time of this customer's requirements last year. I've gone back to them since, but they have moved on. Thanks for the additional information.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Poor proxy support at install script

Post by scottwilkerson »

jomann wrote:I'll go as far as saying it most likely says it's unsupported because we don't support the actual proxy and if you have an issue downloading X package then you need to figure out why you can't access it via your proxy.
This is on the mark. Similarly, we also state that all of our software needs to be installed on a clean minimal install system. Because this is what has been tested.

MANY clients have to use their customized corporate builds as a base, which is fine, however we cannot provide support for potential package conflicts, etc.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked