I want to create an HTTP monitor that sends a message to a server that is looking for the word “OPTIONS”
and keeps the monitor up by receiving a 200 ok. Can anyone assist?
I want to create an HTTP monitor that sends a message to a server that is looking for the word “OPTIONS”
and keeps the monitor up by receiving a 200 ok. Can anyone assist?
Hi, I understood you need this:
Send String:
OPTIONS / HTTP/1.1\r\nHost: yoursite.domain.com\r\nConnection: close\r\n\r\n
Receive String:
200 OK
I hope it helps.
Hope this is string OPTIONS not http method OPTION.
@cjunior has given output of string ‘OPTIONS’.
To achieve this you need to create TCP monitor with GET method, send string ‘OPTIONS’ and receive string ‘200 OK’.
To validate above output you need to run command on F5 CLI ‘telnet yoursite.domain.com portnumber’ and enter below
OPTIONS / HTTP/1.1\r\nHost: yoursite.domain.com\r\nConnection: close\r\n\r\n
You will see Receive String:
200 OK
Hope it will solve your query. Paste if you have any questions.
What would my string look like with the GET method?
GET method should be used for requests where you are only getting data. Here you wanted to retrieve
200 OK
value in http response.