Page 1 of 1

service alert notified when all services are in C/W state

Posted: Mon Jul 19, 2021 6:34 am
by iam33
Hi, thanks in advance!

How to notify service alert in host only when all services in this host are critcal or warning state. If one of them is OK, all of them couldnĀ“t notify an alert.

Only one could be notified, when all services are in warning or critical state.

Thanks!

Re: service alert notified when all services are in C/W stat

Posted: Tue Jul 20, 2021 10:21 am
by gormank
Have a look the BPI addon. It should allow what you want.
https://assets.nagios.com/downloads/nag ... -Addon.pdf

Re: service alert notified when all services are in C/W stat

Posted: Tue Jul 20, 2021 10:56 am
by mcapra
check_multi is one option. Else something like BPI but the community edition is pretty long-in-the-tooth.

With check_multi I think you'd just disable notifications for all of your services under the host, except for the check_multi service check.

Re: service alert notified when all services are in C/W stat

Posted: Mon Jul 26, 2021 1:11 am
by iam33
thank you so much for your answers!

I would prefer to do it without the execution of third-party plugins, through Nagios configuration, but I will test it with the check_multi.