I want to monitor my Tomcat-Server and test (every 10 sec) for a string on the returned page with web.page.regexp. I want to check "http://www.mytomcatserver.com:8080/portal/pages/Login.jsp" for the string "LOGIN"
First try:
-> i get "not supported"
-> the key is cut after 64 chars
Second try:
-> Return Value 0; but last check does not update; no change when the server is not reachable
Question:
What is the correct syntax for web.page.regexp in this example?
What would be the syntax if i want to check for the occurrence of "LOGIN" and "Version" in the returned page?
Why is it not possible to use more then 64 char for the key?
Thank you,
Robert
First try:
Code:
web.page.regexp[www.mytomcatserver.com,portal/pages/Login.jsp,8080,LOGIN,5]
-> the key is cut after 64 chars
Code:
web.page.regexp[www.mytomcatserver.com,portal/pages/Login.jsp,80
Code:
web.page.regexp[10.20.30.40,portal/pages/Login.jsp,8080,LOGIN,5]
Question:
What is the correct syntax for web.page.regexp in this example?
What would be the syntax if i want to check for the occurrence of "LOGIN" and "Version" in the returned page?
Why is it not possible to use more then 64 char for the key?
Thank you,
Robert
. Or is there someone who can help me?
Comment