RHEL Upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

RHEL Upgrade

Post by siriideepak »

Hi,

I installed NagiosXI in RHEL 32 bit version, now the load got increased i need to increase the ram to 8GB but it will not support. When i upgrade RHEL to 64 bit is there a way to migrate the existing NagiosXI to new one without reinstalling NagiosXI. Thanks!!

Regards,
Deepak.P
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: RHEL Upgrade

Post by sreinhardt »

You will definitely need to reinstall RHEL and Nagios. You can however, do a backup and restore by following the documentation below. As you are changing architecture, there will be additional things that are outlined towards the end of the document.

http://assets.nagios.com/downloads/nagi ... ing_XI.pdf
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: RHEL Upgrade

Post by siriideepak »

Hi,

Thanks for the prompt reply.

Regards,
Deepak.P
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: RHEL Upgrade

Post by siriideepak »

Hi,

As per your document i installed in 64 bit version after restoring nagiosXI i ran the final step ./A-subcomponents it generates the error subcomponents installation failed.
Kindly update on this issue.Attached screenshot for your ref.

Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: RHEL Upgrade

Post by sreinhardt »

This appears only after a ./update, is there a reason that this was done on a new system? I would have expected you to install the latest version on the new system. Otherwise to avoid this simply do the following:

Code: Select all

cd /tmp/nagiosxi
export INSTALL_PATH=`pwd`
./A-subcomponents
./upgrade
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: RHEL Upgrade

Post by siriideepak »

Hi,

I initially took backup from the 32 bit(RHEL) system and restored in the newly installed latest nagiosxi 64 bit version(RHEL). As per the doc Backing_Up_And_Restoring_XI.pdf i restored and run the following commands.

cd /tmp/nagiosxi
rm -f installed.subcomponents
./A-subcomponents
./build-perms-bin

After running ./A-subcomponents command i got the error. But after running the command

export INSTALL_PATH=`pwd`
./A-subcomponents

it works fine. One more thing i need to ask if we are doing this change whether the RHEL version should be same or not.example(RHEL 5.5).
Thanks!!

Regards,
Deepak.P
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: RHEL Upgrade

Post by sreinhardt »

OH right I forgot that it has you rerun those parts. As to your question of versions, it does not need to be the same. The extra scripts that you rerun, recompile the nagios binaries and plugins so that it will work with any version that is supported. The one exception to this, is third party compiled plugins that may need to be recompiled.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: RHEL Upgrade

Post by siriideepak »

Hi,

Thanks for the support.

Regards,
Deepak.P
siriideepak
Posts: 78
Joined: Tue Feb 28, 2012 7:21 am

Re: RHEL Upgrade

Post by siriideepak »

Hi,

While taking NagiosXI backup it causes the following errors. Is it ok or anything will get affected while restoring in new VM. Thanks!!

Regards,
Deepak.P
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: RHEL Upgrade

Post by abrist »

Do you have passive checks reporting to this system? If not, did you stop the nagios process before running the backup?

I ask because the files that are failing to stat are checkresults and perfdata that is constantly reaped by nagios. Once reaped, they will lead to stat errors as they are removed post reap and no longer exist.

The other possible cause is that you are out of disk space:

Code: Select all

df -i
df -h
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked