Forum Discussion
Shoaib_020
Altostratus
Mar 04, 2024Regarding custom monitor for multiple pool members
I have three pool members and I wanted to create a custom monitor. The pool member will response with string "GREEN" in response to https://pool_member_ip/inside/nzvi/poll when I am creating a mon...
zamroni777
MVP
Mar 05, 2024because the intended value is pool member's IP address, then you dont need to specify the value for the Host header because it is default value used by LTM monitor.
Connection: close and HTTP/1.1 things are also not needed as LTM monitor will use the TCP connection for 1 requset and properly close it after getting response.
- Shoaib_020Mar 05, 2024
Altostratus
Okay. So the send string will look like as below right ?
GET /inside/nzvi/poll \r\n Host: \r\n
- Amine_KadimiMar 05, 2024
MVP
This is not correct. Please be aware of these basic http monitors concepts:
- If you don't specify the HTTP version, then the monitor will default to version 0.9 which is not supported by many web servers
- If you need to talk to a server using HTTP/1.1, then you need to specify a Host header, although its value can be empty
- Connection: close is not mandatory but a good practice to be sure servers implementing keep alives do close the connection
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects