Status Stuck at Not Applied

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Status Stuck at Not Applied

Post 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?
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: Status Stuck at Not Applied

Post 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
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

Post by CFT6Server »

Here's the log file
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Status Stuck at Not Applied

Post 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).
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Status Stuck at Not Applied

Post 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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Status Stuck at Not Applied

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked