Forum Discussion
spaces in http monitor recieve string?
I have an http monitor with the recieve string of "TEST BLAH" (without quotes) - this will fail. If I change the receive string to "TEST" or "BLAH" it will succeed. I've tried these other patterns as well however none of which have worked for me:
- TEST\ BLAH
- TEST%20BLAH
- TEST\%20BLAH
- (TEST\ BLAH)
- (TEST%20BLAH)
- (TEST\%20BLAH)
Any ideas?
11 Replies
- nathe
Cirrocumulus
TEST\sBLAH should work, according to this sol (if I'm reading it right):
https://support.f5.com/kb/en-us/solutions/public/5000/900/sol5917.html
N
- Nik
Cirrus
yeah not working :\
i also tried \sBLAH and TEST\s with no luck.
- shaggy
Nimbostratus
TEST[ ]BLAH?
- Nik
Cirrus
negative :(
- shaggy
Nimbostratus
I apologize for the following "you probably already checked these but i don't know that" questions...
I use a lot of monitors looking for response code strings like "200 OK", which are configured as receive strings and work as expected:
- Are you sure it's a single space between TEST and BLAH, and not multiple spaces or a different whitespace character?
- Have you tried using curl and then copying/pasting the expected response into the receive string?
- Have you tried looking for other text on the health check page that contain similar text?
- Nik
Cirrus
The text is in the http body and I copied it, like you said. There may be something in the body that's causing it to be escaped.. or maybe there's a max length that can be searched by a monitor? I'm testing different chunks of the source now to find where it dies.
- shaggy
Nimbostratus
5,120 bytes - https://support.f5.com/kb/en-us/solutions/public/3000/400/sol3451.html - Nik
Cirrus
There we go, the string i was querying for was on the bottom of the page, well after the 5k byte limit. Thanks for finding this information for me. - nathe
Cirrocumulus
Glad you're sorted. Good one Shaggy!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
