Forum Discussion

pbonnin_212547's avatar
pbonnin_212547
Icon for Nimbostratus rankNimbostratus
Sep 23, 2016

[LTM] Select monitors

Hello,

 

I would like to monitor a pool of 2 members with 4 different monitors. So far nothing tricky. Here are my current monitors :

 

  • MN_tcp_3000 : TCP Handshake on port 3000
  • MN_http-gif_60s : HTTP monitor on port 80, that checks the existence of a gif file every 60s (interval)
  • MN_http-gif_90s : HTTP monitor on port 80, that checks the existence of a gif file every 90s (interval)
  • MN_http-gif_120s : HTTP monitor on port 80, that checks the existence of a gif file every 120s (interval)

I want the monitors to mark the node down if MN_tcp_3000 is down or if every single one of (MN_http-gif_60s, MN_http-gif_90s, MN_http-gif_120s) is down.

 

My problem is that I cannot use the Availability Requirement setting to put for instance At least 2 monitors, because if 2 of the gif monitors were up and the TCP_3000 monitor is down, then the nodes would be marked UP.

 

Is there a simple way to do that (iRule to select monitors) ? Or should I write a custom external monitor for that ?

 

Thanks, Paul

 

1 Reply

  • don't see another solution then building something yourself via an external monitor. irules makes little sense here.

     

    just for interest, why? why the three levels of image checks? if you explain your full situation someone might have a way to make that work.