Upgrade?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Upgrade?

Post by tonyyarusso »

While I still have no idea why your DNS lookup might be failing (works for me at home and my personal server in addition to at the office), I do see that some of the previous notes weren't entirely clear. So, putting everything together at once, this is the wget command that will fake the host to point to the proper virtual host in the Apache config while looking up the site by IP address:

Code: Select all

wget --header="Host: assets.nagios.com" http://173.45.234.224/downloads/nagiosxi/xi-latest.tar.gz
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
lntyee
Posts: 36
Joined: Thu Apr 22, 2010 3:03 pm

Re: Upgrade?

Post by lntyee »

Brilliant! This is exactly what I needed. The DNS wasn't the issue - this entire command is what I was looking for. I've now sucessfully been able to upgrade. Thank you so much!
lntyee
Posts: 36
Joined: Thu Apr 22, 2010 3:03 pm

Re: Upgrade?

Post by lntyee »

Hi -

I've been using this command :

Code: Select all

 wget --header="Host: assets.nagios.com" http://173.45.234.224/downloads/nagiosxi/xi-latest.tar.gz 
to get the downloads for the past year or so. Now when I try it I get an Error 404: not found. What should I be using now to get this download?

Thanks.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade?

Post by scottwilkerson »

Yep, that's the problem with using hard-coded IP's, sometimes they change..

new command...

Code: Select all

wget --header="Host: assets.nagios.com" http://72.14.181.71/downloads/nagiosxi/xi-latest.tar.gz 
No guarantee it will stay that way...

really of it will work, you should use
new command...

Code: Select all

wget --header="Host: assets.nagios.com" http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz 
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
lntyee
Posts: 36
Joined: Thu Apr 22, 2010 3:03 pm

Re: Upgrade?

Post by lntyee »

Yes -I did try the

Code: Select all

wget --header="Host: assets.nagios.com" http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz 
but it comes back saying it can't resolve the address, which is why I've used the IP address. Thanks for the new address - that worked.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade?

Post by scottwilkerson »

no problem
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked