Page 1 of 1

Apply Configuration for new changes to take effect

Posted: Tue Mar 29, 2016 1:54 am
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?

Re: Apply Configuration for new changes to take effect

Posted: Tue Mar 29, 2016 3:27 pm
by hsmith
Does applying a configuration fix this after the wizard runs? There should not be much variance between operating systems.

Re: Apply Configuration for new changes to take effect

Posted: Tue Mar 29, 2016 11:36 pm
by ankit_bansal3
Yes, after apply config. its work fine. But is it expected? because same think happening for other wizard as well.

Re: Apply Configuration for new changes to take effect

Posted: Wed Mar 30, 2016 10:27 am
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.

Re: Apply Configuration for new changes to take effect

Posted: Tue Apr 12, 2016 9:18 am
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.

Re: Apply Configuration for new changes to take effect

Posted: Tue Apr 12, 2016 2:24 pm
by scottwilkerson
On both machines are php timezones setup in the php.ini? do they match the machine timezone?

Re: Apply Configuration for new changes to take effect

Posted: Tue Apr 12, 2016 11:55 pm
by ankit_bansal3
Sorry, but its not clear to me. Can you please more detail.

Re: Apply Configuration for new changes to take effect

Posted: Wed Apr 13, 2016 12:25 am
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.