I have been working on migrating our existing Nagios Core to Nagios XI (which we are in the process of purchasing). I have been having a major problem that I can't seem to resolve.
In Nagios XI I have multiple hosts and services that I acknowledged but every time I make a change to configuration and have it applied all of the acknowledgements go away.
In the main config file I have checked that retain_state_information=1 and that nagios has rw on retention.dat.
It works correctly in our Nagios Core environment, but not XI. Help would be appreciated.
After 'Apply Configuration' Acknowledgements are gone
Re: After 'Apply Configuration' Acknowledgements are gone
Is it just on a few hosts, or is true for every single host that ever gets an acknowledgement gets wiped of its previous acknowledgements?
If its true just for specific hosts, can you check to make sure that for each host that is like that, the retain_state_information is enabled in the service definition in the Core Config Manager?
Core Config Manager > (login) > Services > (find your service) > (click wrench icon in its row) > Check Settings Tab :: Retain Status Information
If its true just for specific hosts, can you check to make sure that for each host that is like that, the retain_state_information is enabled in the service definition in the Core Config Manager?
Core Config Manager > (login) > Services > (find your service) > (click wrench icon in its row) > Check Settings Tab :: Retain Status Information
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: After 'Apply Configuration' Acknowledgements are gone
It is for most, if not all, hosts and services.
I have checked a few of the places you indicated and it is set to 'skip'. Should it be set to on?
I have checked a few of the places you indicated and it is set to 'skip'. Should it be set to on?
Re: After 'Apply Configuration' Acknowledgements are gone
That looks to be the fix. I went through and turned on Retain Status Information on my global host and service templates and now it is remembering the acknowledgements after Apply Configuration.
Thanks!
Thanks!
Re: After 'Apply Configuration' Acknowledgements are gone
Interesting, thanks for replying on the fix, what version of Nagios Core did you come from? Perhaps there was a change in the way default values were handled? At any rate, I'm the fix was straightforward and a few clicks once the problem was identified.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: After 'Apply Configuration' Acknowledgements are gone
We have Core version 3.2.0.
I have reworked our templates quite a bit since beginning the migration. Most of our configuration in Core was done on a host by host basis and I am moving toward using templates for everything I can in XI. I would suspect that the settings for retention were not in the templates in our Core.
I have reworked our templates quite a bit since beginning the migration. Most of our configuration in Core was done on a host by host basis and I am moving toward using templates for everything I can in XI. I would suspect that the settings for retention were not in the templates in our Core.
Re: After 'Apply Configuration' Acknowledgements are gone
Ah cool, and about the templates: thats great, its really a fantastic tool for a making mass changes across a huge environment, case in point: this issue! 
Nicholas Scott
Former Nagios employee
Former Nagios employee