Nagios Repair DB

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nms
Posts: 222
Joined: Wed Sep 28, 2016 9:35 am

Nagios Repair DB

Post by nms »

Hi,

I am trying to launch Nagios XI again wit ha repair database. I'm left with these errors now:

Code: Select all

Warning: Duplicate definition found for contact 'nagiosadmin' (config file '/usr/local/nagios/etc/timeperiods.cfg', starting on line 16)
Error: Could not add object property in file '/usr/local/nagios/etc/timeperiods.cfg' on line 17.
Error: Service notification period 'nagiosadmin_notification_times' specified for contact 'nagiosadmin' is not defined anywhere!
Error: Could not register contact (config file '/usr/local/nagios/etc/contacts.cfg', starting on line 16)
   Error processing object config files!
any idea how i can proceed?
The problem is that i have a backup on a remote machine but it's outdated (2months) so i would not like to loose data. At least loosing contact pr groups will not be a big concern

Can you kindly help?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios Repair DB

Post by scottwilkerson »

I believe there is a problem with this timeperiod
nagiosadmin_notification_times

If you go to CCM -> Time Periods
Click the disk icon next to any of the entries and post the whole result back to the forum for evaluation
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked