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:
Post
by tonyyarusso » Wed Jun 16, 2010 2:41 pm
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
lntyee
Posts: 36 Joined: Thu Apr 22, 2010 3:03 pm
Post
by lntyee » Thu Jun 17, 2010 4:21 pm
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
Post
by lntyee » Thu Jan 26, 2012 4:51 pm
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:
Post
by scottwilkerson » Thu Jan 26, 2012 5:11 pm
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
lntyee
Posts: 36 Joined: Thu Apr 22, 2010 3:03 pm
Post
by lntyee » Thu Jan 26, 2012 6:05 pm
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.