Forum Discussion
Scripted Monitor + REGEX
I trying to do a Scripted monitor but there is no much enough documentation available saying about use regular expressions in that configuration.
I trying to do a Scripted monitor but there is no much enough documentation available
send "GET /myurl HTTP/1.1\r\n" send "Host: www.myhost.com.br\r\n"
send "User-Agent: Mozilla/4.0+compatible;+MSIE+7.0;+Windows+NT+5.1;+Trident/4.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729;+.NET4.0C)" send "Connection: Close\r\n"
send "\r\n\"
send "\r\n\"
expect "PUT HERE THE REGEX"
1 Reply
- Michael_Jenkins
Cirrostratus
Are you talking about with an external monitor? If so, this post might help, along with SOL5917.
If you're talking about a normal HTTP monitor, then you can use regex in the receive string based on SOL5917.
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