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
How to meet two monitoring in same time then alert?
Re: How to meet two monitoring in same time then alert?
I did something similar with "check_multiple":
https://exchange.nagios.org/directory/P ... le/details
[Pretty sure I used the updated version]
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?
You can accomplish this also with BPI
https://assets.nagios.com/downloads/nag ... BPI_v2.pdf
https://assets.nagios.com/downloads/nag ... BPI_v2.pdf
-
SteveBeauchemin
- Posts: 524
- Joined: Mon Oct 14, 2013 7:19 pm
Re: How to meet two monitoring in same time then alert?
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
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
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?
Also a good option and plugin is included in XISteveBeauchemin 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