Hosts/services stuck "Not applied"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
daq
Posts: 19
Joined: Thu Mar 17, 2011 5:33 pm

Hosts/services stuck "Not applied"

Post by daq »

Very similar to https://support.nagios.com/forum/viewto ... =7&t=29833 but opening a new one since that thread is locked without any resolution that works.

After making changes to the CCM, changes apply successfully, but continue to display "Not applied" status in the CCM.

Already tried deleting config files and re-writing from DB.
Also tried restarting Nagios.
Time zone on the server is set to UTC. PHP correctly has PST timezone set up.

What else can we try?

Thanks.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Hosts/services stuck "Not applied"

Post by rkennedy »

Can you navigate to Admin -> System Settings -> from there, what do you have your Program URL, and External URL set to?
Former Nagios Employee
daq
Posts: 19
Joined: Thu Mar 17, 2011 5:33 pm

Re: Hosts/services stuck "Not applied"

Post by daq »

rkennedy wrote:Can you navigate to Admin -> System Settings -> from there, what do you have your Program URL, and External URL set to?
External was not set. I tried setting it to an external address, but nothing changed in the CCM. Still shows not applied.
I set both to the same value that resolves in our internal DNS server.
Last edited by daq on Mon Jan 11, 2016 2:00 pm, edited 1 time in total.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Hosts/services stuck "Not applied"

Post by hsmith »

Are you using SSL on this system?
Former Nagios Employee.
me.
daq
Posts: 19
Joined: Thu Mar 17, 2011 5:33 pm

Re: Hosts/services stuck "Not applied"

Post by daq »

hsmith wrote:Are you using SSL on this system?
No.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Hosts/services stuck "Not applied"

Post by hsmith »

On your Admin page, can you please browse to System Status and let us know if all of those check marks are green?
Former Nagios Employee.
me.
daq
Posts: 19
Joined: Thu Mar 17, 2011 5:33 pm

Re: Hosts/services stuck "Not applied"

Post by daq »

hsmith wrote:On your Admin page, can you please browse to System Status and let us know if all of those check marks are green?
Yes, everything is green.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Hosts/services stuck "Not applied"

Post by hsmith »

Did you change any database credentials?
Former Nagios Employee.
me.
daq
Posts: 19
Joined: Thu Mar 17, 2011 5:33 pm

Re: Hosts/services stuck "Not applied"

Post by daq »

hsmith wrote:Did you change any database credentials?
Not since installation, but this problem existed since we originally installed Nagios.
We have 2 separate deployments both affected by this issue since Nagios was originally installed.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Hosts/services stuck "Not applied"

Post by ssax »

What version of XI are you using? You can grab it from the bottom left hand side of the web interface. Maybe there's a known bug, I've seen this in older versions.

The likely issue is that the DB timestamp for last_modified date/time is either not being updated or is wrong.

What is the output of this:
- Note: Change CONFIGNAME to a config name of the services that are experiencing the issue

Code: Select all

echo "SELECT DATE_FORMAT(last_modified, '%Y-%m-%d %H:%i:%s'), service_description FROM tbl_service WHERE config_name = 'CONFIGNAME' ORDER BY last_modified DESC LIMIT 1;" | mysql -pnagiosxi nagiosql
Locked