Version : BIG-IP 11.3.0 Build 2806.0 Final LTM (Virtual Edition) SUBJECT : MONITORS THAT IDENTIFIES A SPECIFIC KEYWORD SOMEWHERE WITHIN AN HTML REPORT PAGE TO MARK IT UP REFERENCE : SEE AT THE VERY END DOWN HERE, THE HTML REPORT PAGE RESULTING FROM IT BEING MONITORED : http://host1234.domain.com/ha/UpServer.html
QUESTION : I am trying to monitor the following html page for the keyword “ABCDEF=host1234” to appear somewhere in the page : - it shows like the following five lines in the browser (3 content lines, and 2 empty lines) :
line 1 shows: ABCAcronym=ABCHostname line 2 shows: (here empty line) line 3 shows: ABCDEF=host1234 line 4 shows: (here empty line) line 5 shows: ABCDEG=host5678
The monitor I have written seems to be flaky, and I am far from being sure it will always be correctly reponsive - sometimes its up sometimes its down.
Here is the send string I used in my monitor: GET /ha/UpServer.html HTTP/1.1\r\nHost: host1234.domain.com\r\nConnection: Close\r\n\r\n Here is the receive string I used in that monitor: ABCDEF=host1234
*** THE REAL HTML SOURCE PAGE RESULTING FROM THE MONITOR URI /ha/UpServer.html *** QUERY : UNIX > echo -e “GET /ha/UpServer.html HTTP/1.1\r\nConnection: Close\r\nHost: \r\n\r\n” | nc xxx.xxx.xxx.xxx 80 RESPONSE : HTTP/1.1 200 OK Date: Tue, 11 Mar 2014 19:11:33 GMT Server: Apache/2.2.1 (Unix) Last-Modified: Mon, 24 Feb 2014 23:05:24 GMT ETag: “xxxx-xxxx-xxxx” Accept-Ranges: bytes Content-Length: xxx Connection: close Content-Type: text/html
ABCAcronym=ABCHostname
ABCDEF=host1234
ABCDEG=host5678