Page 1 of 1
Status Stuck at Not Applied
Posted: Mon Aug 17, 2015 7:54 pm
by CFT6Server
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.
not applied.JPG
Tried Delete, Write, Verify and re-apply Configuration but did not help. Any ideas?
Re: Status Stuck at Not Applied
Posted: Mon Aug 17, 2015 8:14 pm
by Box293
Lets check your database logs:
Run this command
Code: Select all
tail /var/log/mysqld.log -n 100 > /tmp/mysqld_log.txt
Send us this file:
/tmp/mysqld_log.txt
Re: Status Stuck at Not Applied
Posted: Tue Aug 18, 2015 11:31 am
by CFT6Server
Here's the log file
Re: Status Stuck at Not Applied
Posted: Tue Aug 18, 2015 12:26 pm
by ssax
What is the date on the system vs what is on the file?
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";'
Then compare it to the host or service file last modified date:
Code: Select all
ls -l /usr/local/nagios/etc/hosts/YOURHOSTNAME.cfg
or
Code: Select all
ls -l /usr/local/nagios/etc/services/YOURSERVICENAME.cfg
Please post them here as well (sanitized).
Re: Status Stuck at Not Applied
Posted: Tue Aug 18, 2015 1:09 pm
by CFT6Server
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
Posted: Tue Aug 18, 2015 1:13 pm
by tmcdonald
I'll be closing this thread now, but feel free to open another if you need anything in the future!