I have recently migrated a Nagios XI environment to a new server and upgraded to 5.6.4. Since I have migrated I have found that any changes or setups of net new service checks are not being picked up when applying configuration. As an example, we have set up a new service check for a Windows service and associated the service with a host group. The host group is then applied to a host, however after applying config in CCM and making sure that the engine has restarted, the service check does not show up and the host group association also doesn't show up. It is reflected on the Nagios Core configuration and show up in CCM, however the Hostgroup listing from the service checks page does not contain the information.
Once I have deleted the configs, rewrote them, and applied them through the CCM tools, the associations will show up, however no amount of restarts of the service or applying of the config will pick up the changes until the configurations are deleted and rewritten.
Are there any items that would need to be reset or reconfigured after migration? I did not see anything specifically in the documentation that suggested a reset of any services or configurations.
Hostgroup changes not being picked up
Re: Hostgroup changes not being picked up
Not really. We need to check out your logs and configs in order to identify the issue. Can you PM me your latest profile?Are there any items that would need to be reset or reconfigured after migration?
Admin > System Profile > Download Profile
What was the version of Nagios XI that you upgraded from?
Note: If you are using passive checks in your environment, I would recommend that you upgrade your XI to the latest version (5.6.5). There was a bug in 5.6.4, affecting passive checks, that was fixed in 5.6.5. See the changelog here:
https://www.nagios.com/downloads/nagios-xi/change-log/
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Hostgroup changes not being picked up
@lmiltchev I have sent you the profile in a private message.
This server was upgraded from 5.5.11 to 5.6.4. We also updated the PHP to 7.2 as the previous version of PHP was end of life and triggering our infosec team. I have checked the logs but was going to dig deeper today. From what I can tell it is not throwing any errors. The config applies without issue, however the changes that were made are not showing up on the service checks though the core configuration shows the service and hostgroup association being present.
This server was upgraded from 5.5.11 to 5.6.4. We also updated the PHP to 7.2 as the previous version of PHP was end of life and triggering our infosec team. I have checked the logs but was going to dig deeper today. From what I can tell it is not throwing any errors. The config applies without issue, however the changes that were made are not showing up on the service checks though the core configuration shows the service and hostgroup association being present.
Re: Hostgroup changes not being picked up
The first issue I noticed in your profile was that your PHP and system time is NOT is sync.
You may have other issues as well, but let's start with fixing the date/time issue. Please follow the steps, outlined in the document below:
https://assets.nagios.com/downloads/nag ... m_Time.pdf
Let us know if this helped or you are still having issues.
This will create issues and it is possible that this is the reason why you don't see changes after applying configuration.Date/Time
PHP Timezone: Not set
PHP Time: Thu, 01 Aug 2019 14:31:12 +0000
System Time: Thu, 01 Aug 2019 10:31:12 -0400
You may have other issues as well, but let's start with fixing the date/time issue. Please follow the steps, outlined in the document below:
https://assets.nagios.com/downloads/nag ... m_Time.pdf
Let us know if this helped or you are still having issues.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Hostgroup changes not being picked up
I have resynced the time and it appears to have fixed the issue. The configurations are showing up as soon as they're applied now. Thank you for your assistance.
Re: Hostgroup changes not being picked up
Glad to hear it's working! Closing thread.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!