Upgrading from xi 20112.3 to xi 200113.2?

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Upgrading from xi 20112.3 to xi 200113.2?

Post by jbennett »

I have tried all of these things in order to get the box to comunicate, many, many times.

In searching, I found the following: http://cntlm.sourceforge.net/

Our proxy requires authentication with domain\username & pass.

I have done all that is suggested and I get the following:

Code: Select all

[root@nagiosxivm tmp]# wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
--2012-07-20 21:42:01--  http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
Resolving proxy.company.org... xxx.xxx.xxx.xxx
Connecting to proxy.company.org|xxx.xxx.xxx.xxx|:8080... connected.
Proxy request sent, awaiting response... 407 Proxy Authentication Required
2012-07-20 21:42:01 ERROR 407: Proxy Authentication Required.
For the username under yum.conf I have 'domain\user'. Under wgetrc, I have domain\user:pass

I have also installed the proxy plug-in. I'm not sure I understand why I would be able to install an update on other systems just fine without proxy support (yet still behind a proxy), but in this instance, it's not going to work?

Downloading the update manually and transfering it shouldn't cause any problems?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Upgrading from xi 20112.3 to xi 200113.2?

Post by scottwilkerson »

Boy, i'm not positive but you may need to escape the \ in wgetrc
so, try changing to
domain\\user:pass
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Upgrading from xi 20112.3 to xi 200113.2?

Post by jbennett »

No such luck.

Restarted the network just to be sure even.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Upgrading from xi 20112.3 to xi 200113.2?

Post by scottwilkerson »

I have been looking around the internet and it appears that you should be able to use it as you had it to begin with on one line like the following in your /etc/wgetrc

Code: Select all

http_proxy=http://domain\user:pass@someproxyserver:port/ # All in one string
Is this how you have it?

If you have special chars in your username or pass you may need to single quote it like

Code: Select all

http_proxy='http://domain\user:pass@someproxyserver:port/' # All in one string
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Upgrading from xi 20112.3 to xi 200113.2?

Post by jbennett »

Code: Select all

http_proxy = http://domain\user:pass@proxy.company.org:8080/
My password doesn't contain any special characters.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrading from xi 20112.3 to xi 200113.2?

Post by lmiltchev »

Try using single quotes even though your password doesn't have any special characters:

Code: Select all

http_proxy = 'http://domain\user:pass@proxy.company.org:8080/'
Do you have a "user-specific" wgetrc in your home directory?
Be sure to check out our Knowledgebase for helpful articles and solutions!
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Upgrading from xi 20112.3 to xi 200113.2?

Post by jbennett »

When I add the single quotes:

Code: Select all

Error parsing proxy URL 'http://domain\user:pass@proxy.company.org:8080/': Scheme missing.
I don't believe I have a user-specific wgetrc in home. When I try to open it, I get the following:

Code: Select all

-bash: /root/.wgetrc: No such file or directory
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Upgrading from xi 20112.3 to xi 200113.2?

Post by scottwilkerson »

I'm honestly at a loss as to why this isn't working for you.

How did you get the install package on the machine for the install?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Upgrading from xi 20112.3 to xi 200113.2?

Post by jbennett »

scottwilkerson wrote:I'm honestly at a loss as to why this isn't working for you.

How did you get the install package on the machine for the install?
scp from my box to this machine.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Upgrading from xi 20112.3 to xi 200113.2?

Post by scottwilkerson »

jbennett wrote:scp from my box to this machine.
I guess I would recommend doing the same this time.

We don't officially support proxy installs. We always try to help, but sometimes with so many proxy setups and server types we cannot come up with a solution.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart