After 'Apply Configuration' Acknowledgements are gone

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
swarner
Posts: 4
Joined: Fri Aug 03, 2012 9:17 am

After 'Apply Configuration' Acknowledgements are gone

Post by swarner »

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.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: After 'Apply Configuration' Acknowledgements are gone

Post by nscott »

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
Nicholas Scott
Former Nagios employee
swarner
Posts: 4
Joined: Fri Aug 03, 2012 9:17 am

Re: After 'Apply Configuration' Acknowledgements are gone

Post by swarner »

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?
swarner
Posts: 4
Joined: Fri Aug 03, 2012 9:17 am

Re: After 'Apply Configuration' Acknowledgements are gone

Post by swarner »

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!
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: After 'Apply Configuration' Acknowledgements are gone

Post by nscott »

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
swarner
Posts: 4
Joined: Fri Aug 03, 2012 9:17 am

Re: After 'Apply Configuration' Acknowledgements are gone

Post by swarner »

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.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: After 'Apply Configuration' Acknowledgements are gone

Post by nscott »

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
Locked