Re: sync missed status
Posted: Wed Dec 15, 2010 2:30 pm
If you've got actual config files for hosts and services in your /usr/local/nagios/etc directory that should not be there, and are not listed in the Core Config Manager, go ahead and delete the files. Once in a while NagiosQL will somehow lose track of a config file and it will just sit there without being updated or deleted. A general rule is that if it's in the Core Config Manager, it's in the database and it can always be written out to the file. But if you've got a config that's outside of the etc/static directory that isn't anywhere to be found in the CCM then that's probably going to cause unpredictable results.
The way the CCM works is that it store the configuration data in the mysql DB, and then when you "Apply Configuration," the DB info gets written to the configuration files. Nagios runs the config verification on the actual config files, and the config files are what Nagios is actually using. The CCM is simply a web UI for managing the config files.
The way the CCM works is that it store the configuration data in the mysql DB, and then when you "Apply Configuration," the DB info gets written to the configuration files. Nagios runs the config verification on the actual config files, and the config files are what Nagios is actually using. The CCM is simply a web UI for managing the config files.