Forum Discussion

Ben_Kennedy_502's avatar
Ben_Kennedy_502
Icon for Nimbostratus rankNimbostratus
Apr 23, 2008

Multiple monitors checking multiple desitnations

Hello,

 

 

I have a requirement to monitor two servers (which aren't nodes) with tcp port checks. I only care if one of these servers responds, but because I have several other monitors applied to the pool, I can't use the "at least" setting (if any of the other monitors fails, I disable the member(s). I've tried setting a monitor with two destinations, but it only seems to be checking one (but doesn't complain when verifying the config). Does anyone know how I can do this please?

 

 

To make it clearer I require:

 

 

monitor1 AND monitor2 and (monitor3 or monitor4)

 

 

monitor3 and 4 are effectively the same, but against two different servers, so if I can specify multiple destinations then that would be fine, but I can't see any documentation telling me how.

 

 

monitor cd_2site_kerberos {

 

defaults from tcp

 

dest 10.0.0.20:kerberos

 

dest 10.0.0.220:kerberos

 

}

 

1 Reply

  • Hi,

     

     

    I think you'd need to write an external monitor that performs the checks and implements the A AND B AND (C OR D) logic you've described. Maybe someone else has a simpler suggestion though?

     

     

    If not, you can check the Monitoring Codeshare (Click here) for examples of external monitors.

     

     

    Aaron