Error processing config file '/usr/local/nagios/etc/ndo2db.c

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Error processing config file '/usr/local/nagios/etc/ndo2

Post by jdalrymple »

cfg files are rebuilt every time you apply config. If after running apply config you have 0 byte cfg files you may still have database corruption. Still - the proper way to fix that is to do a restore. For now I'll leave this open, it doesn't sound like you're entirely out of the woods.
nyoung
Posts: 24
Joined: Thu Mar 28, 2013 3:08 pm

Re: Error processing config file '/usr/local/nagios/etc/ndo2

Post by nyoung »

So if i restore to an earlier local backup, that would resolve any database corruption correct?
I then upgraded to R2.7, got an error but resolved that.

Code: Select all

Updating NRDP..
cp: cannot stat `/usr/local/nrdp/server/config.inc.php': No such file or directory
now i am in the process of re-importing my hosts and services via the bulk import wizard.

Is this sufficient?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Error processing config file '/usr/local/nagios/etc/ndo2

Post by Box293 »

nyoung wrote:now i am in the process of re-importing my hosts and services via the bulk import wizard.

Is this sufficient?
Yes, this will re-create your existing configurations. You may need to do some other things like upload any extra plugins you've added in the past.

Existing performance data can be restored as well. All existing performance data is in /usr/local/nagios/share/perfdata/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nyoung
Posts: 24
Joined: Thu Mar 28, 2013 3:08 pm

Re: Error processing config file '/usr/local/nagios/etc/ndo2

Post by nyoung »

thanks i'm good. please lock this up.
Locked