Page 1 of 1

Backend login to the Core Config Manager failed

Posted: Tue Jul 06, 2021 5:43 am
by preethu.d
Hi,

I am getting error applying configuration in Nagios Xi (attached the error screenshot). I am unable to add new devices or make any changes in Nagios because of this issue. Can someone please look into this and update.

Regards,
Preethu

Re: Backend login to the Core Config Manager failed

Posted: Tue Jul 06, 2021 1:58 pm
by gsmith
Hi,

Compare contact 'SNOW' with another contact - you wil see 'Snow" is missning a host notification command
and a service notification command. Once you add them the "Apply Configuration" should work without
any errors.

Thanks

Re: Backend login to the Core Config Manager failed

Posted: Tue Jul 06, 2021 11:55 pm
by preethu.d
Hi,

Snow entry is available in both host notification and service notification under commands.

Regards,
Preethu

Re: Backend login to the Core Config Manager failed

Posted: Wed Jul 07, 2021 10:36 am
by ssax
Please go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- Then click the Verify Files button, if it verifies properly, please try to Apply Configuration

That alone may fix it.

If it fails again, please do this:

Please run this tail command (and leave it running):

Code: Select all

tail -Fn0 /usr/local/nagiosxi/var/cmdsubsys.log
Then try to apply configuration through the web interface and once it completes/errors send me the full output from the tail command above.

If all that doesn't fix it, do this:

Go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- Once they are done being written (don't do anything in between, don't apply config or anything), run this command and PM me the resulting /tmp/NAGIOSBADFILES.zip file:

Code: Select all

zip -r /tmp/NAGIOSBADFILES.zip /usr/local/nagios/etc
Please PM me a copy of your profile.zip as well, you can download it from Admin > System Profile > Download Profile by clicking the Download Profile button.