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

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

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

Postby iam33 » Mon Jul 19, 2021 6:34 am

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!
iam33
 
Posts: 54
Joined: Mon Mar 18, 2013 5:30 am

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

Postby gormank » Tue Jul 20, 2021 10:21 am

Have a look the BPI addon. It should allow what you want.
https://assets.nagios.com/downloads/nag ... -Addon.pdf
gormank
 
Posts: 882
Joined: Tue Dec 02, 2014 12:00 pm

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

Postby mcapra » Tue Jul 20, 2021 10:56 am

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.
Former Nagios employee
https://www.mcapra.com/
User avatar
mcapra
 
Posts: 3709
Joined: Thu May 05, 2016 3:54 pm

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

Postby iam33 » Mon Jul 26, 2021 1:11 am

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.
iam33
 
Posts: 54
Joined: Mon Mar 18, 2013 5:30 am


Return to Community Support

Who is online

Users browsing this forum: No registered users and 20 guests