Page 1 of 1

Cannot apply the configuration anymore - see error

Posted: Mon Oct 21, 2019 7:09 pm
by mbarislug
Hi!
For some reason we cannot apply a new configuration anymore. It keeps saying it's because of a contact missing a template, but even if you delete the contact or add templates to it, the configuration will not apply.

We have even tried restarting the services and the server with no luck. Tried restoring to the last recent config with no luck either.

We need to delete a few nodes so this is not something we can keep ignoring. What do you recommend?


"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 'mneal' has no service notification commands defined!
Error: Contact 'mneal' has no host notification commands defined!"

Re: Cannot apply the configuration anymore - see error

Posted: Tue Oct 22, 2019 8:51 am
by lmiltchev
Go to Configure > Core Config Manager > Alerting > Contacts > mneal > Edit > Manage Contact Templates, select "xi_contact_generic", click on "Add Selected", "Close", then "Save".

Don't apply configuration yet. Click on the "Config File Management" link under the "Tools" menu on the left, and click on "Write Configs", and "Verify Files".

If you see any errors, post them on the forum. If you don't see any errors, try applying configuration. If this fails too, PM me your latest failed snapshot (colored in red):

CCM > Configuration Snapshots > Download
CCM > Configuration Snapshots > View command output

Re: Cannot apply the configuration anymore - see error

Posted: Wed Oct 23, 2019 11:06 am
by mbarislug
:? Hi I do not have anything listed under Tools. How do I get the "Config File Management" link?

Re: Cannot apply the configuration anymore - see error

Posted: Wed Oct 23, 2019 11:25 am
by lmiltchev
You need to go to the Core Config Manager. You can go there by clicking on the "Configure" menu on the top, then selecting "Core Config Manager". You will see the "Tools" menu on the left hand side. The "Config File Management" is listed under the "Tools" menu on the left. This is NOT the "Tools" menu on the top!

Re: Cannot apply the configuration anymore - see error

Posted: Wed Oct 23, 2019 11:44 am
by mbarislug
Ok i tried that and even the verify part did not report errors, but when I apply the config again it prompts the same issue. I PM the config files, thank you for all your help, we have some clean up to do since we cannot delete or add nodes due to this. :?:

Re: Cannot apply the configuration anymore - see error

Posted: Wed Oct 23, 2019 12:52 pm
by lmiltchev
I replied via a PM.