Forum Discussion

Parveez_70209's avatar
Parveez_70209
Icon for Nimbostratus rankNimbostratus
Jun 17, 2014

Receive String in Advanced Monitor

Hi Team,

 

We are using an Irule to track 500 and 503 errors and alongwith that we also want to use an Advanced HTTP monitor which will basically track the 500.* and 503.* errors ?

 

Will the below work:

 

HTTP/[0-2].[0-9] 50[03]..*

 

And I myself dont know the logic behind the above command, can someone suggest please.

 

Thanks and Regards Parveez

 

3 Replies

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    Not sure I follow that logic either...but my regex foo is limited.

     

    What about:

     

    HTTP/1.(0|1) (500|503)

     

    This will track http 1.0 or 1.1 and 500/503 status codes.

     

    Take it you'll add this as a reverse monitor?

     

  • Hi Nathan.

     

    Thank you will try, so just to clear myself:

     

    HTTP/1.(0|1) (500|503) : so this we can attach to the Receive string right, which can basically try to catch 500 and 503 errors from end member-servers.

     

    How about if we try to add this:

     

    HTTP/[0-2].[0-9] 50[0|3]..*

     

    Is it a right syntax ? Too.

     

    Thanks and Regards Parveez

     

  • nathe's avatar
    nathe
    Icon for Cirrocumulus rankCirrocumulus

    I'm not sure I follow the bit after http/ this is the http version. Don't think you need the ..* either.

     

    N