Forum Discussion

andreas_feller's avatar
andreas_feller
Icon for Nimbostratus rankNimbostratus
May 23, 2017

http healthcheck green with status 403 possible?

Hi I have to Loadbalance between two Fortigate Proxies in GTM . With my healthcheck i am checking if I get a 403 if I connect to the Fortygate. This is my sendstring: "GET / HTTP/1.1 \r\n\r\n" This is my receive string: HTTP/1.[01] 40[01234] The Server are not comming online. The Healthcheck says: "Offline (Enabled) - Monitor /Common/moni_proxyfg_8080 from 172.19.7.120 : connect: server error search result true" This is a little confusing. Does this mean that the Healthcheck is true but the server is offline because it is a Statuscode of the "400-family"? Can i change that behavior / how?

 

regars Andreas

 

  • Anesh's avatar
    Anesh
    Icon for Cirrostratus rankCirrostratus

    Can you do a curl with your monitor string and check if u get the expected response as defined in the receive string

    example

    curl -v http://172.19.7.120:8080/
    
  • Anesh's avatar
    Anesh
    Icon for Cirrostratus rankCirrostratus

    make the recv string like below

    HTTP/1\.(0|1) 403 Forbidden