Forum Discussion

Ashlucb_317977's avatar
Ashlucb_317977
Icon for Nimbostratus rankNimbostratus
Apr 19, 2017

HTTP Health monitor

Hi I am trying to setup a health monitor for one of our applications but it is taking the servers down when applied. The syntax I am using is as follows even though the receive string is found on the page.

 

Send string: GET /TE_x_UAT/Webui/AccessDenied.html HTTP/1.1\r\nHost:x.x.x\r\nConnection: Close\r\n\r\n Receive String: Your user account does not have access to this page

 

3 Replies

  • It seems receive string is longer then expected. Is it possible to short String instate of

    Your user account does not have access to this page
    .

    Run below command to check receive string. Take TCPDUMP also

    curl -gv http://:/TE_x_UAT/Webui/AccessDenied.html

    • Ashlucb_317977's avatar
      Ashlucb_317977
      Icon for Nimbostratus rankNimbostratus

      when I try to run a curl on that I get * getaddrinfo(3) failed for ::80 * Couldn't resolve host ':' * Closing connection 0 curl: (6) Couldn't resolve host ':'

       

      the host is stated later on in the string

       

    • Ashlucb_317977's avatar
      Ashlucb_317977
      Icon for Nimbostratus rankNimbostratus

      Thanks I managed to get the curl command to work and have picked a new receive string and the monitors are now showing the pool members as up.

       

      Many thanks