Forum Discussion
ozdemircili_696
Jun 18, 2010Nimbostratus
Health Monitors
Hi,
I have created a health monitor with the following config:
Interval 5
Timeout 16
Send String GET /test/test.jsp
Receive String HTTP 1\.(0|1) 200
Reverse No
Transparent No
Alias address ALL
Ali...
hooleylist
Jun 18, 2010Cirrostratus
Can you test this using netcat? Also, \r\n is the delimiter for lines in HTTP. Can you try this as your request to netcat:
echo -e "GET /test/index.jsp /HTTP1.1\r\n Host:\r\nConnection: Close\r\n\r\n" | nc 1.1.1.1 80
Replace 1.1.1.1 80 with your server IP and port.
And then try this as your send string in the monitor configuration:
GET /test/index.jsp /HTTP1.1\r\n Host:\r\nConnection: Close
The monitoring daemon in 9.4 - 10.1 appends two CRLFs to the end of the send string, so you shouldn't include them. Note I've removed the d in closed.
Can you try this as a receive string:
HTTP/1\.(0|1) (200|304)
Aaron
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