conditional alert

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
theju
Posts: 2
Joined: Mon Sep 10, 2012 4:51 am

conditional alert

Post by theju »

Hi,

I'm looking for a way to simply monitor my ethernet interfaces on my SAN :

The problem is that I have 2 controllers on my SAN that are Active/Passive :

I monitor the interface on my switch but Only one of the two is connected to the switch. Actually I always have an error interface and a OK interface

Can I make a service that is OK and return value of 1 of 2 ethernet interface like that :

IF port1 = OK OR port2=OK -> Interface to SAN is OK
Transfert rate = transfert rate of PORT1+PORT2

If it is possible can you tell me how I can do that ?

I don't know if Im very clear ask me if not ...

Thanks for your Help

Theju
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: conditional alert

Post by slansing »

Okay so if I am understanding this correctly, you would like the check to return OK if only one of the ports is connected, because you are currently getting a CRITICAL if one of the ports is not being used?
theju
Posts: 2
Joined: Mon Sep 10, 2012 4:51 am

Re: conditional alert

Post by theju »

Hi slansing ,
This is exactly what I want.

Theju
Locked