Page 1 of 1

I have several error

Posted: Tue Sep 17, 2019 9:42 am
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?

Re: I have several error

Posted: Tue Sep 17, 2019 10:59 am
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.

Re: I have several error

Posted: Wed Sep 18, 2019 1:26 am
by eSailVite
Hi,

It`s working.. thanks

Re: I have several error

Posted: Wed Sep 18, 2019 6:28 am
by scottwilkerson
eSailVite wrote:Hi,

It`s working.. thanks
Great!

Locking thread