STOP notifications if many problems entcountered

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Petr M.
Posts: 29
Joined: Sat Oct 10, 2015 1:24 pm

STOP notifications if many problems entcountered

Post 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
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: STOP notifications if many problems entcountered

Post 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/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked