Forum Discussion
meena_60183
Nimbostratus
Mar 22, 2012checking either or receive string in http monitors
I have a http monitor which currently uses
GET /id/login.jsp HTTP/1.0\r\n for send string and checks for
Identity for receive string.
This is going to be changed sometime this weekend and I need to change the receive string to Manager.
I am wondering if I could use something like "Identity or "Manager" so that way I can change the monitor ahead of time.
Another work around would be to create a new monitor and enable both and change the availability requirement to at least 1.
Meena
2 Replies
- hoolio
Cirrostratus
Hi Meena,
I think some of the strings in your post were stripped. If you had text within angle brackets you can get them to render by putting spaces between the text and brackets: < text >.
In general, the receive string can be a regex. So you could use a receive string like:
(string1|string2)
Your other idea of configuring two monitor with a minimum successful count of 1 would work nicely as well.
Aaron - meena_60183
Nimbostratus
Thank you Aaron. I used the format
(string1|string2)
and it works fine.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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