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!

Perhaps you may achieve this with advanced monitor settings.. See section Diameter Monitor Settings in below article

Hi,

Just curious here, what is the use case of this? having 2x200 and 3x500 before wanting F5 to make a decision?