Forum Discussion

MW1's avatar
MW1
Icon for Cirrus rankCirrus
Jul 11, 2017

Health montior -- with count?

All, I have had a request to create a F5 health monitor against a web server pool to perform the following:

 

[HeartBeat Settings] Polling Interval: 10 seconds

 

UP HTTP Response: 200 UP Status Count: 2

 

DOWN HTTP Response: 500 DOWN status Count: 3

 

So the server is marked up once at least 2 good "200" responses are received, and failed when 3 "500" error responses are received.

 

My questions are:

 

1) would using the timeout value replicate the "count" if double the frequency or is there another way to achieve this?

 

2) I cant see it is possible to implement a check for "good" and "bad" in one monitor, and would need two checks, but the 200 check would trigger a failure (if not received) before the DOWN 500 would trigger due to the count, therefore as requested it is not possible with the F5 logic.

 

Appreciate any insight/thoughts from the community!