'Apply Configuration Error' Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
maxiz1987
Posts: 25
Joined: Fri Jun 26, 2015 4:00 am

Re: 'Apply Configuration Error' Nagios XI

Post by maxiz1987 »

ssax wrote:This is likely a sudoers issue, please post your /etc/sudoers and check to make sure you don't have a /etc/sudoers.d/nagiosxi file.

Do you use AD/LDAP auth to login to the XI server when connecting with SSH?
Hi ssax!

I have realized that there was a missing line: 'reset_config_perms.sh'

I added that line and when I did ' # su nagios' - '# ./reconfigure_*.sh' - It has applied the configuration.

Could you please validate that my sudoers is ok now?


Regards,
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: 'Apply Configuration Error' Nagios XI

Post by Box293 »

To validate the sudoers file:
Download the version of XI you are running https://assets.nagios.com/downloads/nag ... rsions.php
Extract the file
In the nagiosxi directory there is a file called nagiosxi.sudoers
Compare this file to the entries on your server
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
maxiz1987
Posts: 25
Joined: Fri Jun 26, 2015 4:00 am

Re: 'Apply Configuration Error' Nagios XI

Post by maxiz1987 »

Hi All !

I have realized that there was a line missing on my sudoers file.

I am uploading a screenshot as how it was before and how it is after a change I have made - It seems to be working now.

However I'll compare it with nagiosxi.sudoers as @Box293 recommended to me.

Regards,
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: 'Apply Configuration Error' Nagios XI

Post by tgriep »

That is good to hear that it is working now.
Report back your findings or is we can close and lock this post as solved.
Be sure to check out our Knowledgebase for helpful articles and solutions!
maxiz1987
Posts: 25
Joined: Fri Jun 26, 2015 4:00 am

Re: 'Apply Configuration Error' Nagios XI

Post by maxiz1987 »

It was a sudoers issue.

I don't know why the installation has deployed an incorrect sudoers file.

This thread can be closed.

Regards,
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: 'Apply Configuration Error' Nagios XI

Post by mcapra »

Closing this per your request
Former Nagios employee
https://www.mcapra.com/
Locked