Hi
We recently performed a configuration backup/restore while moving from RHEL6 to RHEL8.3. During the time of the move we were running NagiosXI 5.7.3, but even after upgrading to 5.7.4 we are seeing the issue below.
Whenever we edit a service which has hosts associated with it the associations disappear after we click save. For example, I can edit a service in CCM, note that the 'Manage Hosts' count is 1, change a random argument, hit save, go back in to edit again and the 'Manage Hosts' count will be 0.
When I go to Apply Config it fails as the service has no hosts associated with it.
I've tried doing the delete config/write config/verify config round-trip but the verify fails with the same error above.
If I manually edit the service CFG file to add in the hosts then I can verify, but they disappear again the second I edit the service in CCM.
Any ideas ?
Thanks,
Mark.
RHEL8.3 / 5.7.4 - hosts disappearing when editing services
-
hunterorbit
- Posts: 2
- Joined: Thu Nov 12, 2020 2:19 am
Re: RHEL8.3 / 5.7.4 - hosts disappearing when editing servic
Newer versions of MYSQL which come on RHEL8, has to have some changes on how the data is written and the following article has the instructions to do the change as I think this is the issue you are having.
https://support.nagios.com/kb/article/n ... s-780.html
FYI, you should not be editing the configuration files on the server directly as when you do an Apply Config in the CCM, they will get overwritten which is what you found.
After the change, see if the changes done in the CCM are saved.
https://support.nagios.com/kb/article/n ... s-780.html
FYI, you should not be editing the configuration files on the server directly as when you do an Apply Config in the CCM, they will get overwritten which is what you found.
After the change, see if the changes done in the CCM are saved.
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
hunterorbit
- Posts: 2
- Joined: Thu Nov 12, 2020 2:19 am
Re: RHEL8.3 / 5.7.4 - hosts disappearing when editing servic
Thank you - that resolved the issue.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: RHEL8.3 / 5.7.4 - hosts disappearing when editing servic
Great!hunterorbit wrote:Thank you - that resolved the issue.
Locking thread