This is a cache of https://support.nagios.com/kb/article/nagios-xi-configuration-applies-no-changes-take-place-39.html. It is a snapshot of the page at 2025-05-14T00:08:55.179+0000.
Nagios <strong>xi</strong> - Configuration Applies, No Changes Take Place
Home » Categories » Products » Nagios xi » Troubleshooting » Common Problems

Nagios xi - Configuration Applies, No Changes Take Place

Overview

This is generally due to wrong permissions or issues with the sudoers settings.

In order to reset the permissions, run the following command from the command line:

/usr/local/nagiosxi/scripts/reset_config_perms.sh

 

If running the above command doesn't fix your problem, the issue may be with the sudoers file. You can try running the reconfigure_nagios.sh script from the command line as root and as nagios user and check the output for errors.

cd /usr/local/nagiosxi/scripts/
./reconfigure_nagios.sh

or

su nagios
cd /usr/local/nagiosxi/scripts/
./reconfigure_nagios.sh

 

Another good way for troubleshooting issues with applying configuration is to start a running tail on the cmdsubsys.log:

tail -f /usr/local/nagiosxi/var/cmdsubsys.log

 

Click on the "Apply Configuration" from the web interface and watch the output from the tail command in your terminal. After you are done with verifying the output, you can stop the log tail by pressing "Ctrl+c".

In case of errors with sudoers, you may see an output, similar to the one below:

The following error message is produced:

>>> /etc/sudoers: syntax error near line 97 <<<
>>> /etc/sudoers: syntax error near line 98 <<<
>>> /etc/sudoers: syntax error near line 100 <<<
>>> /etc/sudoers: syntax error near line 102 <<<
sudo: parse error in /etc/sudoers near line 97
sudo: no valid sudoers sources found, quitting

 

You can verify the sudoers syntax by running the following command:

visudo -c

 

Sometimes, there are issues with duplicate aliases, defined in the /etc/sudoers and some other configs in the /etc/sudoers.d/ directory. To view all "User_Alias" entries in the /etc/sudoers file and the configs under the /etc/sudoers.d/ directory, run:

grep -R "User_Alias" /etc/sudoers /etc/sudoers.d/

 

In order to fix the issue, you can comment out one of the "offending" lines, i.e.

# User_Alias      NAGIOSxi=nagios

 

If you would like a list of the required sudoers entries, these can be found in the xi source installer.

Download and extract the file, the sudoers entries are in the file nagiosxi/nagiosxi.sudoers and you should compare your /etc/sudoers against this file.

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

3 (2)
Article Rating (2 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Installation errors on customized corporate builds of CentOS or RHEL
Viewed 13356 times since Tue, Jan 26, 2016
Nagios xi - Event Data Is Stale
Viewed 5983 times since Wed, Jan 27, 2016
Nagios xi - Issues with mod_gearman and Performance Data Newlines: "\n"
Viewed 4429 times since Tue, Feb 2, 2016
Nagios xi - Configuration Verification Failed
Viewed 19871 times since Mon, Jan 25, 2016
Nagios xi - Display All Scheduled Reports
Viewed 5393 times since Wed, Oct 12, 2016
xi 5.4 monitoring engine not running
Viewed 11802 times since Mon, Feb 6, 2017
Nagios xi - WMI Authentication Problems
Viewed 7613 times since Thu, Feb 25, 2016
Nagios xi - Error while converting SVG
Viewed 4896 times since Thu, Aug 3, 2017
Nagios xi - Troubleshooting Reports
Viewed 7747 times since Wed, Dec 5, 2018
Nagios xi - HTTP 500 Error / White Screen After Login
Viewed 6775 times since Mon, Feb 29, 2016