Forum Discussion
Receive String problem
I'm trying to create a regular monitor that would monitor a website with:
Send String: GET / HTTP/1.0
Receive String: Welcome Page
When I do telnet "IP of the Node" 80, I get text that is including "Welcome Page" string, but the monitor seems to be down.
When I use a Receive String of "div" the monitor goes up.
Is there something wrong with formatting of the Receive String for my request?
I guess the configuration should be pretty straightforward, but still I'm stuck.
I tried GET /Default.aspx HTTP/1.1 with similar recieve strings and still nothing.
Also, if I use my default monitor of:
Send String: GET / HTTP/1.0
Receive String: 200 OK
Everything works well, but I need to monitor some text from the website.
Any ideas?
- The_Bhattman
Nimbostratus
Check out this support article from ask.f5.com - hoolio
Cirrostratus
There needs to be two carriage return - line feeds at the end of a GET request. The monitoring daemon appends one for you. - lipos_54863
Nimbostratus
Thanks for help. - hoolio
Cirrostratus
- lipos_54863
Nimbostratus
Solved. - mjaved_62370
Nimbostratus
Hi Whats should be the receive string for the below - output to web server - I have tried almost everything doesnt work, maybe my receive string syntax is wrong. I am just new at this...please helpUnder Construction This is the DMZ WEb Server Please try this site again later. If you still experience the problem, try contacting the Web site administrator. If you are the Web site administrator and feel you have received this message in error, please see "Enabling and Disabling Dynamic Content" in IIS Help. To access IIS Help Click Start, and then click Run. In the Open text box, type inetmgr. IIS Manager appears. From the Help menu, click Help Topics. Click Internet Information Services.
- mjaved_62370
Nimbostratus
from what i understand is receive string could be anything in the html page - hoolio
Cirrostratus
You could set the receive string to '200 OK' without the quotes to look for a 200 response. However, it looks like you have host headers set up on your web server and the request is being handled by the default web application instance--not a specific web application. You might want to set a host header in the send string which matches the host header filters configured on IIS so you test the actual web application. - mjaved_62370
Nimbostratus
thanks for the reply, yes! 200 ok works well. I was wandering whether i can search for the String "DMZ" in the page. But when i use DMZ in the receive string web server is marked down. - hoolio
Cirrostratus
If DMZ is found in the first 5120 bytes of the response, the member should get marked up. The response you posted is well under 5k, so that should work. If you run tcpdump do you see DMZ in the response? Is the Content-Length header under 5120 bytes? If so, and the monitor is still marking the pool member down, you might try enabling bigd debug using 'b db bigd.debug enable / disable'. The output is logged to /var/log/bigdlog.
Recent Discussions
Related Content
* 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