Apply Configuration for new changes to take effect

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ankit_bansal3
Posts: 20
Joined: Wed Mar 18, 2015 4:38 am

Apply Configuration for new changes to take effect

Post by ankit_bansal3 »

Hello All,

We have created host file using our custom monitoring wizard and submit data to NagisoxXI framework using below command

$outargs[CONFIGWIZARD_NAGIOS_OBJECTS]=$objs;
And after that
case CONFIGWIZARD_MODE_COMMITOK:

Now there is two different behaviors in CentOS[5.2.0] and REHL [ 5.2.5]

1) CentOS [5.2.0] : After submitting page it creates the hosts config file and reflect into NagiosXI home page – No issue here
2) REHL [ 5.2.5]: After submitting page its creates the hosts config file but whereas in RHEL, a message shows “Changes detected! Apply Configuration for new changes to take effect” in ‘Core Config manager’ -> Hosts. Please refer attached screenshots for the same.

So, is it expected behavior from NagiosXI framework side or some issue with our custom wizard?
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Apply Configuration for new changes to take effect

Post by hsmith »

Does applying a configuration fix this after the wizard runs? There should not be much variance between operating systems.
Former Nagios Employee.
me.
ankit_bansal3
Posts: 20
Joined: Wed Mar 18, 2015 4:38 am

Re: Apply Configuration for new changes to take effect

Post by ankit_bansal3 »

Yes, after apply config. its work fine. But is it expected? because same think happening for other wizard as well.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Apply Configuration for new changes to take effect

Post by tmcdonald »

Clicking Apply Configuration will be required in order to have any of the changes take place, regardless of the wizard used, or whether you used the CCM to make the object manually.
Former Nagios employee
ankit_bansal3
Posts: 20
Joined: Wed Mar 18, 2015 4:38 am

Re: Apply Configuration for new changes to take effect

Post by ankit_bansal3 »

No, we are not using CCM to create object.
We are using wizard to create object. Even after apply config change, its again show the same message.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Apply Configuration for new changes to take effect

Post by scottwilkerson »

On both machines are php timezones setup in the php.ini? do they match the machine timezone?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ankit_bansal3
Posts: 20
Joined: Wed Mar 18, 2015 4:38 am

Re: Apply Configuration for new changes to take effect

Post by ankit_bansal3 »

Sorry, but its not clear to me. Can you please more detail.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Apply Configuration for new changes to take effect

Post by Box293 »

The following guide shows you all the settings for timezones on a Nagios XI server:

https://assets.nagios.com/downloads/nag ... m_Time.pdf

Can you go through this and confirm the two servers have the same settings and are correct.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked