Configuring a web page for monitoring
This task describes how to add a URL of a web page to be monitored.
To add a URL of a web page to be monitored
- Access the menu commands for the server instance icon.
- Select PATROL Admin > Configure > Basic.
- In the operation field, select Add.
- Click Perform Action.
- Type the URL that you want to monitor in the URL field.
- (Optional) Type a label that identifies this URL to display in the PATROL Console.
- From the HTTP Method list box, select the HTTP method type you want to use for your URL request.
- If your network is slow, increase the Timeout: Seconds setting to accommodate the HTTP response time.
- Select any of the following buttons, as appropriate, to change and verify the URL monitoring configurations.
- After changing the configuration in the dialog boxes, click the Accept button to return to the Add/Edit URL Configuration dialog box. You can then select a different dialog box by clicking the appropriate button.
Click Done in the URL Monitoring dialog box to save the current entries and close the dialog box.
Defining HTTP response codes
This section describes how to add or modify HTTP response codes, which indicate Ok, warning and alarms states, for your web page.
To define the HTTP response codes:
Access the menu commands for the INET_Web_Server application instance icon.
- Select PATROL Admin > Configure > Basic.
- Enter basic information for the server instance (see Adding-servers-for-monitoring).
- Select a URL to edit, then select Edit in the Operation field.
- Click Accept.
- Click HTTP Response Codes.
- Type the status code ranges you want to consider as OK in the OK Status Code Ranges field (for example, 200-299).
Type the status codes ranges you want to consider as a warning in the WARNING Status Code Ranges field (for example, 1-199, 300-999).
- Click Accept.
- Click Accept.
- Click Done to save the current entries and close the dialog box.
Verifying authentication
This task describes how to provide authentication credentials for your URL request. Supported authentication methods are Basic, Digest (Windows only), and Windows Challenge-Response/NTLM (Windows systems only).
To provide authentication credential for a URL request, complete the following steps
Access the menu commands for the server instance icon.
- Select PATROL Admin > Configure > Basic.
- Enter basic information for the server instance (see Adding-servers-for-monitoring).
- Select a URL to edit, then select Edit in the Operation field.
- Click Accept.
- Click Authentication.
- Type the username associated with your URL request, or a domain or computer name followed by the username (for example, MYDOMAIN\myuser ), if your URL uses NTLM authentication.
- Type the password associated with the username.
- Re-type the password for verification.
- Click Accept.
- Click Accept.
- Click Done to save the entry and close the dialog box.
Editing content checking
This task describes how to add or modify content checking for your URL request. Content checking checks the source code of the web page pointed to by the URL. The text string (referred to as single line or multi-line content expression) can be different in the source from what is displayed on a web browser due to rendition. You must enter the text string in the source for content checking.
To add or modify content checking for your URL request
Access the menu commands for the server instance icon (INET_Servers).
- Select PATROL Admin > Configure > Basic.
- Enter basic information for the server instance (see Adding-servers-for-monitoring).
- Select a URL to edit, then select Edit in the Operation field.
- Click Accept.
- Click Content Check.
- Enter the expression you want to look for using one of the following methods:
- For a single line expression, enter the content in the Single Line Content Expression field.
- For a larger expression, enter the full path to a file containing the expression to be checked in the Multiple Line Expression field.
To include Unix-style regular expressions inside the content expression you specify (either single-line or multi-line), select the Evaluate Unix-style regular expressions check box.
- Check the Case Sensitive option if you want to check for case-sensitive matches.
- Select whether the web page result should or should NOT match your content expression.
- Use the pull-down menu to indicate whether the application should alarm if the contents match or do not match the content expression.
- Click Accept.
- Click Accept.
- Click Done to save the current entries and close the dialog box.
Defining a cookie
This section describes how to define static cookies that will be sent with a URL request. If you have enabled dynamic cookies, the static cookies you define here will be merged with cookies obtained dynamically. See Adding-servers-for-monitoring for information about dynamic cookies.
To define a cookie
Access the menu commands for the server instance icon as described.
- Select PATROL Admin > Configure > Basic.
- Enter basic information for the server instance (see (see Adding-servers-for-monitoring).).
- Select a URL to edit, the select Edit in the Operation field.
- Click Accept.
- From the Add/Edit URL Configuration Dialog Box, click Cookie.
To directly edit the Cookie sent with the URL request, type the name in the Cookie field.
The exact value for COOKIE_NAME and COOKIE_VALUE are specific to the Web server and application. For example, you can type Customer="customer_name";. Address="customer_address";- Click Accept.
- Click Accept.
- Click Done to save the entry and close the dialog box.
Editing a referrer
This task describes how to edit a referrer page for your URL request. A referrer indicates the URL of a page that links to the given page.
To edit a referrer page
Access the menu commands for the server application instance icon.
- Select PATROL Admin > Configure > Basic.
- Enter basic information for the server instance (see Adding-servers-for-monitoring).
- Select a URL to edit, then select Edit in the Operation field.
- Click Accept.
- Click Referrer.
Type the fully qualified path of the referring URL page in the Referrer field.
- Click Accept.
- Click Accept.
- Click Done to save the entry and close the dialog box.
Defining a user agent
This task describes how to add or modify a user agent for your URL request. User Agents identify the browser that is requesting the page.
To define a user agent
Access the menu commands for the server instance icon.
- Select PATROL Admin > Configure > Basic.
- Enter basic information for the server instance (see Adding-servers-for-monitoring).
- Select a URL to edit, then select Edit in the Operation field.
- Click Accept.
- Click User Agent.
- Type the name that identifies the user agent to the Web server and application.
The default identifies the user agent as PATROL; however, you may need to change the user agent for some Web applications. - Click Accept.
The user agent dialog box appears. - Click Accept.
The basic configuration dialog box appears. - Click Done to save the entry and close the dialog box.
Defining HTTP form fields
This section describes how to define HTTP Form Fields to be sent with your URL request.
To define HTTP form fields
Access the menu commands for the server instance icon.
- Select PATROL Admin > Configure > Basic.
- Enter basic information for the server instance (see Adding-servers-for-monitoring).
- Select a URL to edit, then select Edit in the Operation field.
- Click Accept.
- In the HTTP Form Fields section, select the action that applies to your URL request: Done, Add plaintext, Add encrypted*, Delete,* and Edit.
- Click Accept. The HTTP Form Fields Dialog Box appears.
Type or edit the form fields you want to check for your URL request in the Field Name and Field Value fields.
You can type names associated with the form fields on a web page (for example, name, address, or account number).
If you chose the Add encrypted option ( 19286) from the HTTP Form Field area, the field value you enter will not be displayed as you type and it will not be visible on the screen. This encrypted value will be stored in your agent configuration and cannot be seen outside of the PATROL agent process.- Click Accept.
- Click Accept.
- Click Done to save the current entries and close the dialog box.
Configuring link checking
This section describes how to configure link checking.
To configure link checking
Access the menu commands for the server instance icon.
- Select PATROL Admin > Configure > Basic.
- Enter basic information for the server instance (see Adding-servers-for-monitoring).
- Select a URL to edit, then select Edit in the Operation field.
- Click Accept.
- Click Link Check.
- Check the box to enable link checking for the specified URL.
If the box is not checked, no link checking will be done, but none of the settings will change. Checking the box activates all the settings for link checking. - Use the mouse to move the slide bar to change the number of seconds between each request.
If you move the slide bar to '0,' there will be no delay between requests. The maximum delay is 180 seconds. - In the Link Check Depth field, enter a number in the box to indicate how many levels of links will be checked, or check Unlimited depth box to check all link levels. For example, entering '3' indicates that three levels of links from the current URL will be checked. In all cases, only one level of external links will be checked.
- In the Maximum Number of Links field, enter the maximum number of links to be checked, or check the Unlimited box, which indicates no maximum.
- In the Maximum Run Time field, enter the maximum hours and minutes to run link checking, or check Unlimited run time to specify no time limit.
- In the First Run Time field, enter a time or use the arrows to specify when link checking will run.
- In the Run Frequency field, enter the hours and minutes between each link checking operation.
- Click Accept.
- Click Accept.
- Click Done to save the changes and close the dialog box.