Forum Discussion

ross_02_143242's avatar
ross_02_143242
Icon for Nimbostratus rankNimbostratus
Feb 06, 2014

F5 LTM Custom monitor query

Can anyone shed any light on this ? I need to setup a customer monitor for a F5 BIG IP LTM Loadbalancer and I need to ensure that the receive string is expecting to see range 200 - 400 inclusive, I am assuming that it isn't as easy as just adding "200 400" !

 

I have seen a couple of posts that elude to some code that you can use for ranges of return codes, the below is from 200 - 309

 

Receivestring: ^HTTP.1.1\s([2|3]0[0-9])

 

Can I just amend this to give me what I need i.e

 

Receivestring: ^HTTP.1.1\s([2|3]0[0-99]) I think tis will only cover 200 - 399 inclusive ?

 

Any feedback welcome

 

regards Ross

 

4 Replies

  • uni's avatar
    uni
    Icon for Altostratus rankAltostratus

    I think the first "|" should not be there. Use this instead:

    [23][0-9][0-9]

    It won't make much difference, but the other way would accept "|00" to "|99" as well.