Backend login to the Core Config Manager failed

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Backend login to the Core Config Manager failed

Post 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
You do not have the required permissions to view the files attached to this post.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Backend login to the Core Config Manager failed

Post 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
preethu.d
Posts: 109
Joined: Wed Nov 25, 2020 11:32 pm

Re: Backend login to the Core Config Manager failed

Post by preethu.d »

Hi,

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

Regards,
Preethu
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Backend login to the Core Config Manager failed

Post 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.
Locked