Monitor the availability of the web page http://www.mycompany.com/ at five-minute intervals. If the page is inaccessible, repeat the test at most two times, with five seconds between each repeated test.
Create a HTTP profile element and set the fields to the values shown in Table 1.
Configuration field |
Value |
---|---|
server |
www.mycompany.com |
page |
/ |
description |
Example - basic web page monitor |
Active |
Selected |
poll |
300 |
failureretests |
2 |
retestinterval |
5 |
Monitor the availability of the web page http://www.mycompany.com/index.html accessed via the proxy server proxy.monitor.com, which requires authentication credentials proxyuser/proxypass.
Create a new HTTP profile element and set the fields shown in Table 2.
Profile element configuration field |
Value |
---|---|
server |
www.mycompany.com |
page |
index.html |
description |
Example - monitoring via a proxy server |
Active |
Selected |
Proxy details | |
server |
proxy.monitor.com |
useproxy |
proxy |
authenticationtype |
BASIC |
username |
proxyuser |
password |
proxypass |
Monitor the operation of the form http://support.mycompany.com/cgi-bin/search.cgi by sending HTTP POST requests with the form parameter search=ism, and use a regular expression to match the string Your search was successful in the response. If this string is returned in the response, classify the service level as Good, and Failed otherwise.
Create a new HTTP profile element and set the fields shown in Table 3.
Profile element configuration field |
Value |
---|---|
server |
support.mycompany.com |
page |
/cgi-bin/search.cgi |
description |
Example - form parameters and regular expressions |
Active |
Selected |
Regular expression details | |
match 1 |
Your search was successful |
Service level classification details | |
statement |
Regexp Status 1 = MATCHED then status GOOD |
Head and Form details | |
name |
search |
value | ism |
type | FORM |