Forum Discussion

CarlT's avatar
Icon for Altostratus rankAltostratus
Feb 20, 2021

monitoring web page on server for health, correct syntax please

Hi All, we have some monitors on our f5 to monitor a web page and look for a response to ensure it is running.

An example of one that works on our system uses the syntax below,

GET / HTTP/1.1\r\nHost:\r\nConnection: Close\r\n\r\n


We need to monitor a site that uses the below webpage , however it does not work, can someone help me to correct the syntax


and the response to he site should be

###### This is presentation tier test page!! ######


Can someone tell me what I need to change?

1 Reply

  • Something like below should do the work,

    create ltm monitor https TEST-HTTPS { interval 30 timeout 91 send "GET /tc/controller/test HTTP/1.1\\r\\nUser-Agent: BigIP Prober\\r\\nHost:\\r\\nConnection: close\\r\\n\\r\\n" recv "This is presentation tier test page" recv-disable "Drain" }