Page 1 of 4

Nagios crashed. Re-building again.

Posted: Wed Mar 18, 2015 6:18 am
by prateekagr1988
Hello,

Our Nagios XI 2012R1.2 server crashed, and we are re-building from scratch in a new server.
Could you suggest the list of config files we will need to restore from the old server, to ensure that the new instance is up do date with our previous setup?

Re: Nagios crashed. Re-building again.

Posted: Wed Mar 18, 2015 9:07 am
by tmcdonald
If you just need the core config objects, you can grab them from /usr/local/nagios/etc/ and use the import process to get them into the new XI:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

But as your XI version is quite old (latest is 2014R2.6) if you want to transfer the UI settings as well you will want to make sure you transfer to the same version using our backup+restore scripts:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

then upgrade from there.

Re: Nagios crashed. Re-building again.

Posted: Wed Mar 18, 2015 11:44 am
by prateekagr1988
Thank you!

Now we see the below issues:
- CCM does not load
- NRDS config manager does not load
- All XI System Component Status are disabled except for monitoring engine, performance grapher and database backend

KIndly suggest.

Re: Nagios crashed. Re-building again.

Posted: Wed Mar 18, 2015 11:45 am
by prateekagr1988
Additionally, the checks take a very long time.

I also see an error for CCM in the logs, which says about timezone.

Re: Nagios crashed. Re-building again.

Posted: Wed Mar 18, 2015 11:50 am
by abrist
Did you restore from an XI created backup, or did you just move the configs over?
Also, fix your timezone issues by following the doc below:
http://assets.nagios.com/downloads/nagi ... m_Time.pdf

Re: Nagios crashed. Re-building again.

Posted: Wed Mar 18, 2015 12:09 pm
by prateekagr1988
The configs were moved manually.
I will check the pdf to fix the timezone issue.

Re: Nagios crashed. Re-building again.

Posted: Wed Mar 18, 2015 2:33 pm
by tgriep
Which version of Nagios XI did you install on the new server?
Can you run the following in a shell on the new server and post it back?

Code: Select all

cat /etc/*release
ps aux

Re: Nagios crashed. Re-building again.

Posted: Wed Mar 18, 2015 2:34 pm
by lmiltchev
The configs were moved manually.
OK, so you didn't restore from a backup but moved the configs over manually. Did you actually import the configs as described here?
Or maybe you placed all of the configs in the "import" directory and ran the "reconfigure_nagios.sh" scrip?
Can you explain in details all of the steps you took to migrate the configs?

Re: Nagios crashed. Re-building again.

Posted: Wed Mar 18, 2015 3:52 pm
by prateekagr1988
We had a running Nagios XI 2012R1.2 instance.
Unfortunately the server crashed and our infra team could not recover entire data but recovered more than 80% of the data.
We had to start the applications and take the next steps/place the required files/permissions based on the error message recieved.
We were finally able to start Nagios XI instance, but are still facing the above mentioned errrors.

Re: Nagios crashed. Re-building again.

Posted: Wed Mar 18, 2015 4:05 pm
by tgriep
What is the version of Nagios XI you are running on the new server?
Can you provide a screen shot of what is not running?