Page 1 of 1

New Installation: Nagios XI on RHEL 6

Posted: Mon Aug 29, 2011 2:35 pm
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.

Re: New Installation: Nagios XI on RHEL 6

Posted: Mon Aug 29, 2011 2:51 pm
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.

Re: New Installation: Nagios XI on RHEL 6

Posted: Mon Aug 29, 2011 3:15 pm
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.

Re: New Installation: Nagios XI on RHEL 6

Posted: Mon Aug 29, 2011 3:36 pm
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

Re: New Installation: Nagios XI on RHEL 6

Posted: Wed Sep 07, 2011 9:42 am
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!

Re: New Installation: Nagios XI on RHEL 6

Posted: Wed Sep 07, 2011 3:53 pm
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.

Re: New Installation: Nagios XI on RHEL 6

Posted: Wed Oct 12, 2011 7:34 am
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!

Re: New Installation: Nagios XI on RHEL 6

Posted: Wed Oct 12, 2011 10:53 am
by nscott
Awesome, glad it worked for you.