RobW
Jan 30, 2008Nimbostratus
HTTP Monitor - Java Script
The following monitor was allegedly working fine on a competitors product, but not on the LTM v9.4.3
send "GET /auth/?checkall=true HTTP/1.0\\r\\n\\r\\n"
expect "PASS"
I believe this was never working correctly. If I modify the send string to:
GET /auth/?checkall=true HTTP/1.0\\r\\n\\r\\nConnection: Close\n\n
Receive string error:
400 Bad request
400 Bad request
Connection closed by foreign host.
Once again if I modify the receive string to:
GET /auth/?checkall=true - This cause a Java Script to run and the following valid receive string is displayed.
Monitor Output
PASS
If I list 'PASS' or PASS as the receive string the pool marked a being offline.
Output from the command line of the LTM.
[admin@lb2cmgmt:Active] ~ telnet 10.20.62.65 8080
Trying 10.20.62.65...
Connected to 10.20.62.65.
Escape character is '^]'.
GET /auth/?checkall=true
Monitor Output
PASS
Connection closed by foreign host.
What am I overlooking?