PDA

View Full Version : Help on web.page.regexp


RobertS
30-08-2006, 15:51
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:
web.page.regexp[www.mytomcatserver.com,portal/pages/Login.jsp,8080,LOGIN,5]
-> i get "not supported"
-> the key is cut after 64 chars web.page.regexp[www.mytomcatserver.com,portal/pages/Login.jsp,80

Second try:
web.page.regexp[10.20.30.40,portal/pages/Login.jsp,8080,LOGIN,5]
-> 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

RobertS
04-09-2006, 07:47
Hello to all,

it seems that nobody is using web.page.regexp :( . Or is there someone who can help me?

Regards, Robert

alj
09-09-2006, 09:36
It cant monitor https anyway so I end up using custom monitor with curl getting url and grep parsing it.