Forum Discussion
buki_12593
Nimbostratus
Dec 30, 2007The default HTTP monitor seems to be incorrectly defined
The default HTTP monitor seems to be incorrectly defined – instead of defining the “send string” properly (I.E., “GET / HTTP/1.0\r\n”), it is defined as “GET /”.
This approach does not work with standard-compliant HTTP servers (lighttpd, for example).
After creating a custom monitor that sends a proper HTTP request, the monitor works as expected.
5 Replies
- hoolio
Cirrostratus
Hello, - VictorC
Nimbostratus
Hi, I am running into the same problem with a lighttpd server. In my telnet test I can run the following and it returns fine:GET / HTTP/1.1 Host: hostname Connection: Close
GET / HTTP/1.1\n Host: hostname\n Connection: Close\n
- hoolio
Cirrostratus
I'd guess the problem is that the send string lines are separated by \n (newline or linefeed character) but HTTP requires \r\n (carriage return and line feed). In older BIG-IP versions, the monitoring daemon translated \n's to \r\n automatically. - VictorC
Nimbostratus
Great, thanks! Adding the \r to each new line helped.GET / HTTP/1.1\r\n Host: \r\n Connection: Close\r\n
- Deb_Allen_18Historic F5 AccountI have recently updated the solutions regarding this functionality:
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