How to meet two monitoring in same time then alert?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

How to meet two monitoring in same time then alert?

Post by xpertech »

Is it possible to monitor two hosts/services and must both hosts/services meet the criteria and then will alert, but if only one host/service meet the criteria then will not alert?

A and B >> will alert
A or B >> will not alert
bomahony
Posts: 133
Joined: Wed Jul 04, 2018 10:46 am

Re: How to meet two monitoring in same time then alert?

Post by bomahony »

I did something similar with "check_multiple":
https://exchange.nagios.org/directory/P ... le/details
[Pretty sure I used the updated version]
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to meet two monitoring in same time then alert?

Post by scottwilkerson »

You can accomplish this also with BPI
https://assets.nagios.com/downloads/nag ... BPI_v2.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: How to meet two monitoring in same time then alert?

Post by SteveBeauchemin »

I kinda prefer the Nagios check_cluster plugin. Bottom line is there are many ways.

https://assets.nagios.com/downloads/nag ... sters.html

This is just a preference. I have had good success with it.

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How to meet two monitoring in same time then alert?

Post by scottwilkerson »

SteveBeauchemin wrote:I kinda prefer the Nagios check_cluster plugin. Bottom line is there are many ways.

https://assets.nagios.com/downloads/nag ... sters.html

This is just a preference. I have had good success with it.

Steve B
Also a good option and plugin is included in XI
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked