New Installation: Nagios xi on RHEL 6

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
npietran
Posts: 7
Joined: Thu Aug 25, 2011 1:14 pm

New Installation: Nagios xi on RHEL 6

Post by npietran »

Good afternoon,

We are installing Nagios xi on Redhat 6. Are there any prerequisites or gotchas we should know about.

Thanks!

Nick P.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: New Installation: Nagios xi on RHEL 6

Post by nscott »

Nick,

Make sure you're using the latest install script! Thats about the only one that might trip you up. The latest install is Nagios xi 1.7 which should be the only 2011 download available, but just to be sure make sure that it is labeled 1.7.
Nicholas Scott
Former Nagios employee
npietran
Posts: 7
Joined: Thu Aug 25, 2011 1:14 pm

Re: New Installation: Nagios xi on RHEL 6

Post by npietran »

Thanks for the response. Here's our first opportunity for an upgrade. How do we upgrade safely from v1.6 to v1.7?

Cheers,

Nick P.
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: New Installation: Nagios xi on RHEL 6

Post by lmiltchev »

You can download Nagios xi 2011R1.7 from this page:

http://library.nagios.com/library/produ ... loads/main

Prior to this, you should probably read our documentation on the upgrade process:

http://assets.nagios.com/downloads/nagi ... ctions.pdf

Also, check this document, concerning backup and restoring Nagios xi:

http://assets.nagios.com/downloads/nagi ... ing_xi.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
kinnema
Posts: 28
Joined: Thu Aug 25, 2011 2:27 pm

Re: New Installation: Nagios xi on RHEL 6

Post by kinnema »

Hello,

We're also upgrading xi to R1.7 on a new server (though RHEL 5.7 and not 6), and prior to noticing this post followed the xi_Upgrade_Instructions.pdf to backup the existing data on the old server. The backup instructions contained there are a bit different than in the Backing_Up_And_Restoring_xi.pdf and I've been looking for instructions on restoring these dumps correctly:

pg_dump -U nagiosxi -c -F p nagiosxi | bzip2 -c > /root/pre-upgrade-backup/pg_nagiosxi.sql.bz2
mysqldump -u root -pnagiosxi nagios | bzip2 -c > /root/pre-upgrade-backup/my_nagios.sql.bz2
mysqldump -u root -pnagiosxi nagiosql | bzip2 -c > /root/pre-upgrade-backup/my_nagiosql.sql.bz2

Any help is much appreciated, thanks!
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: New Installation: Nagios xi on RHEL 6

Post by mguthrie »

Can you clarify on if you're just upgrading the Nagios xi software, or are you upgrading RHEL, or are you moving to a different physical machine? If you're just upgrading Nagios xi you shouldn't need to restore anything to the database, it will all still be there.
kinnema
Posts: 28
Joined: Thu Aug 25, 2011 2:27 pm

Re: New Installation: Nagios xi on RHEL 6

Post by kinnema »

We were moving to a new physical machine. I ended up just using the instructions in the Backing_Up_And_Restoring_xi.pdf, which worked just fine. We're up and running on the new machine now.
Thanks!
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: New Installation: Nagios xi on RHEL 6

Post by nscott »

Awesome, glad it worked for you.
Nicholas Scott
Former Nagios employee