Getting errors when applying config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Getting errors when applying config

Post by benningtonr »

Just started getting these errors today

Backend login to the Core Config Manager failed.
An error occurred while attempting to apply your configuration to Nagios Core. Monitoring engine configuration files have been rolled back to their last known good checkpoint.

Error: Contact 'Ricky Gilleland' has no service notification commands defined!
Error: Contact 'Ricky Gilleland' has no host notification commands defined!

I have deleted the user, but the applying the config still fails.

I am logged in with the nagiosadmin account

Need assistance Please

Thank you
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Getting errors when applying config

Post by benningtonr »

I ran Verify and got some warnings but no errors.

Nagios Core 4.4.5
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-08-20
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Warning: Duplicate definition found for service 'whrofia-A Bandwidth' on host 'Brocade 1600 All' (config file '/usr/local/nagios/etc/services/Brocade 1600 All.cfg', starting on line 5910)
Warning: Duplicate definition found for service 'whrofia-A Status' on host 'Brocade 1600' (config file '/usr/local/nagios/etc/services/Brocade 1600.cfg', starting on line 163)
Warning: Duplicate definition found for service 'whrofia-A Bandwidth' on host 'Brocade 1600' (config file '/usr/local/nagios/etc/services/Brocade 1600.cfg', starting on line 130)
Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
Warning: Service 'Ping' on host 'Test Palo' has no default contacts or contactgroups defined!
Warning: Service 'ethernet1/1 Bandwidth' on host 'Test Palo' has no default contacts or contactgroups defined!
Warning: Service 'ethernet1/1 Status' on host 'Test Palo' has no default contacts or contactgroups defined!
Warning: Service 'ethernet1/2 Bandwidth' on host 'Test Palo' has no default contacts or contactgroups defined!
Warning: Service 'ethernet1/2 Status' on host 'Test Palo' has no default contacts or contactgroups defined!
Warning: Service 'ethernet1/3 Bandwidth' on host 'Test Palo' has no default contacts or contactgroups defined!
Warning: Service 'ethernet1/3 Status' on host 'Test Palo' has no default contacts or contactgroups defined!
Warning: Service 'mgmt Bandwidth' on host 'Test Palo' has no default contacts or contactgroups defined!
Warning: Service 'mgmt Status' on host 'Test Palo' has no default contacts or contactgroups defined!
Warning: Service 'tunnel.1 Bandwidth' on host 'Test Palo' has no default contacts or contactgroups defined!
Warning: Service 'tunnel.1 Status' on host 'Test Palo' has no default contacts or contactgroups defined!
Checked 1323 services.
Warning: Host 'Test Palo' has no default contacts or contactgroups defined!
Checked 107 hosts.
Checked 5 host groups.
Checked 6 service groups.
Checked 24 contacts.
Checked 2 contact groups.
Checked 162 commands.
Checked 27 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 107 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 27 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 12
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
benningtonr
Posts: 524
Joined: Tue May 22, 2012 2:16 pm

Re: Getting errors when applying config

Post by benningtonr »

I just restored from my lasr good config and applied and it was successful
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Getting errors when applying config

Post by dchurch »

Sometimes deleting a contact can sometimes break relationships which can put a wrench into applying configs.

E.g. If your service alerts a contact group that's empty, it'll fail to apply configs unless you disable the alerts.

If you're satisfied your configuration now works, we can close this topic.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Locked