Nagios crashed. Re-building again.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
prateekagr1988
Posts: 62
Joined: Fri Sep 26, 2014 7:21 pm

Nagios crashed. Re-building again.

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios crashed. Re-building again.

Post 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.
Former Nagios employee
prateekagr1988
Posts: 62
Joined: Fri Sep 26, 2014 7:21 pm

Re: Nagios crashed. Re-building again.

Post 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.
prateekagr1988
Posts: 62
Joined: Fri Sep 26, 2014 7:21 pm

Re: Nagios crashed. Re-building again.

Post by prateekagr1988 »

Additionally, the checks take a very long time.

I also see an error for CCM in the logs, which says about timezone.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios crashed. Re-building again.

Post 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
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.
prateekagr1988
Posts: 62
Joined: Fri Sep 26, 2014 7:21 pm

Re: Nagios crashed. Re-building again.

Post by prateekagr1988 »

The configs were moved manually.
I will check the pdf to fix the timezone issue.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios crashed. Re-building again.

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios crashed. Re-building again.

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
prateekagr1988
Posts: 62
Joined: Fri Sep 26, 2014 7:21 pm

Re: Nagios crashed. Re-building again.

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios crashed. Re-building again.

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked