Forum Discussion

adrian_171483's avatar
Dec 05, 2014
Solved

http monitor failed

Trying to go from Cisco ACE to F5.. cannot get this monitor to work on the F5 ..   A simple soultion would be wonderful.. I think the server responds with some kind of rediect 303.   The C...
  • mimlo_61970's avatar
    Dec 05, 2014

    If you use HTTP/1.1, the Host: header is required. You can try a simple GET request without an HTTP version and so on, but some web servers won't like it. My recomendation would be to include HTTP version, include the Host header, and also send a connection close.

     

    Send:
    GET /asad/adaasdfas/!asdfasd?pyActivity=Code-Security.EndSession&pzAuth=guest HTTP/1.1\r\nHost: hostname\r\nConnection: close\r\n\r\n

    If you want to match anything between 200 and 399 as a response, you will need to use a regular expression in the receive string. My recommendation would be to use a request that produces a consistent result so you don't have to guess.

     

    Receive:
    [23][0-9][0-9]