I've recently imported some UCS configurations into our Nagios XI instance and noticed that the services and hosts shows up fine, but looking at the the CCM, hosts and services are listed as "Not Applied". No matter what I do, I cannot get it to clear to Applied.
Tried Delete, Write, Verify and re-apply Configuration but did not help. Any ideas?
Status Stuck at Not Applied
-
CFT6Server
- Posts: 506
- Joined: Wed Apr 15, 2015 4:21 pm
Status Stuck at Not Applied
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Status Stuck at Not Applied
Lets check your database logs:
Run this command
Send us this file:
/tmp/mysqld_log.txt
Run this command
Code: Select all
tail /var/log/mysqld.log -n 100 > /tmp/mysqld_log.txt/tmp/mysqld_log.txt
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
CFT6Server
- Posts: 506
- Joined: Wed Apr 15, 2015 4:21 pm
Re: Status Stuck at Not Applied
Here's the log file
You do not have the required permissions to view the files attached to this post.
Re: Status Stuck at Not Applied
What is the date on the system vs what is on the file?
Run these commands on the server:
Then compare it to the host or service file last modified date:
or
Please post them here as well (sanitized).
Run these commands on the server:
Code: Select all
date
ls -l /etc/localtime
php -r 'echo date("D M j G:i:s T Y")."\n";'
Code: Select all
ls -l /usr/local/nagios/etc/hosts/YOURHOSTNAME.cfgCode: Select all
ls -l /usr/local/nagios/etc/services/YOURSERVICENAME.cfgPlease post them here as well (sanitized).
-
CFT6Server
- Posts: 506
- Joined: Wed Apr 15, 2015 4:21 pm
Re: Status Stuck at Not Applied
Thanks for the date check. Looks like the system time zone vs the time zone in php was not matching. I have updated the configuration and the "not applied" message is now gone. Thanks!
Re: Status Stuck at Not Applied
I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee