Page 1 of 1

STOP notifications if many problems entcountered

Posted: Wed Mar 04, 2020 9:30 am
by Petr M.
Hello,
is there any way how to automatically disable all notifications if many problems entcountered?
For ex. if there are more than xx problems detected, the notification are disabled and enabled when the problems are solved?
My idea is that xx is configurable parametr.

Thanks, Petr

Re: STOP notifications if many problems entcountered

Posted: Thu Mar 05, 2020 8:15 pm
by Box293
There is nothing built in but you could create a custom plugin that would do it for you.

You could disable notifications using an external command:

https://assets.nagios.com/downloads/nag ... mmand_id=7

You could determine how many objects were having issues using a jsonquery:

https://labs.nagios.com/2014/06/19/expl ... -7-part-1/