Page 1 of 1

Alert notifications

Posted: Tue Sep 05, 2017 10:42 am
by franky
Hello,

We have our notification interval set to 60 mins. I was wondering, is it possible to stop notifications after 3 of these have been sent without having to manually acknowlege for it to stop?

Many thanks.
Francoise

Re: Alert notifications

Posted: Tue Sep 05, 2017 11:08 am
by tacolover101
FYI - setting it to 0, will send right away and never again.

as for what you're asking - I believe it's possible to do if you leverage escalations. https://assets.nagios.com/downloads/nag ... tions.html

Re: Alert notifications

Posted: Tue Sep 05, 2017 1:21 pm
by dwhitfield
Thanks @tacolover101!

OP, if you are unable to get escalations to work in this manner, being able to acknowledge via the API is on the roadmap. Is this something that would work for you or do we need to determine an alternative method?

Re: Alert notifications

Posted: Wed Sep 06, 2017 4:11 am
by franky
@tacolover101 thanks for the link. That's really useful. Is this possible to achieve this using through the Nagios XI dashboard? Or would I need to edit the service configs individually?

Re: Alert notifications

Posted: Wed Sep 06, 2017 7:07 am
by tacolover101
there should be an escalations section in XI you can use, which is more of a 'drag and drop' interaction. the same logic applies from that document though.

IIRC, you should be able to set a * to apply it to all hosts / services which would help to set a standard.

Re: Alert notifications

Posted: Wed Sep 06, 2017 10:52 am
by dwhitfield
Thanks @tacolover101!

There is an escalation wizard, but also you can go to http://YOURSERVER/nagiosxi/includes/com ... escalation (just be sure to change YOURSERVER to the actual server)

Re: Alert notifications

Posted: Thu Sep 07, 2017 3:17 am
by franky
Great! Thanks for all your help. Much appreciated