I have several error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eSailVite
Posts: 22
Joined: Thu Feb 14, 2019 2:18 am

I have several error

Post by eSailVite »

Hi,

I cannot use the wizard. this is the error:

Nagios Core 4.4.3
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-01-15
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for contact 'xi_default_contact' (config file '/usr/local/nagios/etc/contacts.cfg', starting on line 31)
Error: Could not add object property in file '/usr/local/nagios/etc/contacts.cfg' on line 32.
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!


***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data definitions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.

Can you help me?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: I have several error

Post by benjaminsmith »

Hello,

There's an error in the current configuration files preventing the Wizard from applying the new configurations. Are your familiar with editing files on the Core Configuration Manager ( CCM ) ?

You can either restore a known good configuration or correct the current files. To restore, go to Configure > Quick Tools > Configuration Snapshots.

To correct the current configuration, go to Configure > CCM > Tools > Config File Management, and perform the following steps.

1. Delete Files
2. Write Configs
3. Verify. If verification fails, correct any errors using the CCM and repeat the first two steps until the configuration passes.
4. Restart Nagios Core

According to the posted error message, you have a duplicate contact and nagiosadmin does not have a notification period set.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
eSailVite
Posts: 22
Joined: Thu Feb 14, 2019 2:18 am

Re: I have several error

Post by eSailVite »

Hi,

It`s working.. thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: I have several error

Post by scottwilkerson »

eSailVite wrote:Hi,

It`s working.. thanks
Great!

Locking thread
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked