Forum Discussion
diegonzal_22654
Mar 26, 2012Nimbostratus
Custom Monitor using Send/Receive strings
Hello,
I have been trying to create a custom monitor that checks a certain internal site for it's availability by looking for a string on the page once the page is available. The word is "Password" in this case.
This is what I have set up:
Send String: GET /PEARL-ADMIN/admin/images/logo.gif HTTP/1.1\n\r\n
Receive String: Password
1. I don't believe I'm doing this right because if I add "Password" to the receive string then the monitor does not work. If I leave Receive String blank then the monitor works (doesn't make sense to me). If I change the Send String to something that does not exist on the page with no Receive string then the monitor works. I'm dumbfounded by this.
2. I have ran a packet capture and used Fiddler2 to see the Request and Return headers for these requests. The Return headers are always 200 but this is not what I'm looking for. I'm looking for a specific word, "Password" on the page for the monitor to then mark it up as good.
How can I create a custom monitor that queries a webpage for a string and if the string exitsts the monitor will be marked "up". If the string does not exist, the monitor will be marked "down".
A solution would be appreciated but more importantly perhaps more knowledge on how these send/receive strings work on the LTM.
Thank you!!
- hooleylistCirrostratusHi,
- diegonzal_22654NimbostratusOk, I added the missing \r to the end of my GET string and it still does not work. I read the links you sent and I don't see any issues with my syntax.
- hooleylistCirrostratusCan you try the steps outlined here:
- Mr_JamesNimbostratusdiegonzal -
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