Page 3 of 3

Re: Upgrade?

Posted: Wed Jun 16, 2010 2:41 pm
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

Re: Upgrade?

Posted: Thu Jun 17, 2010 4:21 pm
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!

Re: Upgrade?

Posted: Thu Jan 26, 2012 4:51 pm
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.

Re: Upgrade?

Posted: Thu Jan 26, 2012 5:11 pm
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 

Re: Upgrade?

Posted: Thu Jan 26, 2012 6:05 pm
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.

Re: Upgrade?

Posted: Fri Jan 27, 2012 8:20 am
by scottwilkerson
no problem