Page 1 of 1
Acknowledgements
Posted: Tue Apr 10, 2012 3:30 pm
by paul.jobb
Hi;
How are acknowledgements supposed to work? We had been acknowledging service checks in the warning state with the expectation that the acknowledgement would be cleared when it changed states, such as disk utilization going from warning to critical, but that doesn't appear to work that way as the acknowledgement stayed when my service check went critical. Would a warning/critical service chack clear once it went "ok" ?
Thanks,
Paul
Re: Acknowledgements
Posted: Tue Apr 10, 2012 4:00 pm
by scottwilkerson
paul.jobb wrote:Would a warning/critical service chack clear once it went "ok" ?
This is correct.
Re: Acknowledgements
Posted: Tue Apr 10, 2012 4:53 pm
by paul.jobb
how about moving from warning to critical? we had a couple cases where we acknowledged a disk utilization service check that was in a warning state, to supress re-alerts, the expectation was once it moved into critical(as it did) the acknowledgement would be cleared and a new alert would be raised. That didn't seem to happen, or at least behave as I thought, is there a way to configure nagios to remove acknowledgements when moiving from warning to critical so a new alert can be created?
Re: Acknowledgements
Posted: Wed Apr 11, 2012 10:54 am
by lmiltchev
This is a default behavior. Acknowledgements won't be cleared if you are still experiencing a problem (for example, warning or critical state). They are cleared when that problem has been resolved (OK state).
If you don't want to receive notifications on a Warning state, you can modify your alert settings via the Core Config Manager (Service Management - Alert Settings tab) by clearing the "w" check-box in "Notification options". You can do it for a particular service - this will override the template, or you can do it in the template, but this will affect ALL of the services using it!
If you want to receive at least one alert on a Warning state, but no more alerts, unless state changes, it would be more challenging. It can be (maybe) done somehow with the use of escalations. I haven't tested this scenario, but I will try to recreate it on my test box and let you know how it went.