HTTP URL Monitors

Introduction

This section is common to all the editions of IT360 - Professional Edition, Enterprise Edition (Probes only) and MSP Edition (Probes only).

In an environment, where downtime of any website applications and services can cause negative impact on the business performance, problems must be accurately identified and solved. IT360 acts as a continuous URL monitoring service that keeps a constant watch over the specified URL or website pages. They test the website applications and web services, to ensure their proper functioning.

URL monitors verify the availability of specified, addressable, standard HTTP and HTTPS URLs. They scan the HTTP and HTTPS page and look for a predefined keyword, to check whether the website is available.

There are two ways of URL monitoring provided by IT360;

  1. HTTP(s) URLs
  2. HTTP(s)-URL Sequence (Record & Playback)

The difference between the two types of monitoring is that the HTTP(s)-URLs monitors single HTTP and HTTPS URL, whereas the HTTP(s)-URL Sequence (Record & Playback) monitors a set of HTTP and HTTPS URLs, in sequence.

Also, any HTTP and HTTPS URL can be monitored using URL Monitoring.Please go through the following sections to know about the configuration details.

1. HTTP(s) URLs

To monitor an URL the following settings are required:

Content matching: Make sure that the content you try to match is present in the page source of the url or follow the steps,

  1. Add the url in the url-sequence manually without using recorder.
  2. Click "add url" and see the response at the bottom of the page.
  3. Use the word present in that response for content matching.

Note: If you find any problem adding an url please make sure that the url is accessible from the ManageEngine IT360 installed machine.

To configure for HTTP(s) URLs monitoring, follow the given steps:

  1. Login to IT360 console with the Username and Password of an Admin user.

  2. Click the Admin tab in the header pane.

  3. Click Discover/Add under Discovery.

  4. Choose the option Add from the Add / Discover type dropdown and select the Application radio button.

  5. In the Add New Monitor wizard displayed, click HTTP(s) URLs under Web Server/Services (see this screenshot). In the Add Monitor wizard displayed, do the following:

  6. Provide any Display name for the HTTP-URLs monitoring.

  7. Provide the HTTP/HTTPS URL address, you want to monitor.

  8. Enter any keyword as Match content. The URL monitoring searches the keyword in the content of the URL page, to check the availability of the URL. This is optional.

    Note
    : The content search is case-sensitive. If you provide 2 words, the content match is performed for the words, separately. For example, if you specify the content as ME IT360, the match is found for ME and  IT360 separately. If you need the content match to be performed for the complete text, specify the 2 words within quotes, example "ME IT360".

  9. Provide the Polling interval, for which Applications module updates the status of the monitor.

  10. Choose between the Form Submission Methods Post and Get.

  11. Enter the Request Parameters (if any).

  12. Specify the Error If Match value.

  13. Specify the range of Response Code. e,g, < or >, exceeding which error should be shown.

  14. Enter Timeout value, in seconds. 

  15. Enable the checkbox, instructing that, if monitor detects error, re-try immediately to verify error.

  16. Enable Basic Authentication for this URL (if required). i.e. give the User Name and Password.

  17. Now, Associate the above Monitor Instances to a Business Service. i.e. choose the Business Service, to which you want to associate the HTTP(s) URLs, from the combo box. If no Business Service is found, Create one by clicking the Create New Business Service link.

  18. Click Add URL Monitor, to initiate monitoring of the specified URL.

Apart from the basic URL Monitoring, IT360 also provides you with advanced options that furnish effective and more flexible URL Monitoring. This is optional and you need to choose these options, only if the HTTP/ HTTPS URL requires Form-based authentication.

  1. Provide the request parameters, if any. The request parameters must be provided as 'name=value' pairs for Post and Get methods.
    For example, if you want to monitor a URL like, 'http://console:8080/showresource.do?haid=1&type=UrlMonitor&method=getMonitorForm', then provide "?haid=1&type=UrlMonitor&method=getMonitorForm" as request parameter.

  2. Enter a keyword, which when matches with the content in the URL, must be notified of error in 'Error If Match' field. Note: The search is case sensitive. Multiple keywords should be put within quotes. Otherwise, it will be treated as 'Any' one of the multiple keywords.

  3. Enter the Response Code details, by choosing them from the combo box. By default, it is greater than 200. Hence the error will be notified, once the criteria mentioned are met.

  4. Enter the time, in minutes, for which the URL monitor should wait for a page to complete downloading, before timing out in Time out field.

  5. Check "If monitor detects error, re-try immediately to verify error", where the monitoring is automatically performed, when it detects an error, i.e. when an error is detected, the monitor will immediately be scheduled to run again once.

  6. Provide the Username and Password, if the URL requires Form-based authentication.

Note: To monitor NTLM authenticated URLs, copy the 'cryptix-jce-provider.jar' file from 'http://www.cryptix.org/cryptix-jce-20050328-snap.zip' to '<ManageEngine_Home>\ME\IT360\applications\lib\ext'. Restart IT360.

Top

2. HTTP-URL Sequence (Record & Playback)

Using URL Sequence Monitor, you can monitor a sequence of URLs. A URL Sequence begins with a specific URL, such as the Login page, acting as the starting point for the sequence. This can then be followed by additional URLs that a user would be required to select in order to complete a specific task. Continue to add more URLs to the sequence using the available links, forms, frames, or other specific URLs. This step is repetitive depending on the number of Web pages that you need to add in the sequence.

The purpose of URL Sequence is to monitor multiple web pages of an online application. It checks pages, with dynamically generated information, thus enhancing interactive transactions, such as Logging into a login page, Creating an account using a web form, Instructing the application to perform some action, etc. The URL Sequence monitoring thus performs end-to-end verification of particular transactions, thus helping you to troubleshoot any problems, while monitoring.

Prerequisites:

1. First you need to download and install Recorder.exe to create a new URL Sequence, modify existing URL Sequences by altering the order of urls, or deleting one more urls in a URL Sequence.

2. If you are connecting to an URL using a proxy server, then you must configure proxy to initiate the URL sequence monitoring. Refer to the Configuring Proxy section of Performing Admin Activities, for further details.

There are two methods to configure a URL Sequence:

2.1 URL Sequence Recorder

You can use the 'recorder.exe' that is bundled with IT360, to automatically configure the URL Sequence. 'Recorder.exe' is found under the '/bin' directory. On running the exe, the URL Sequence Recorder Console and Control Panel open up. Follow the steps given below to configure the URL Sequence:

  1. Enter the URL address that you want to monitor and click on 'Go'.

  2. Click on the sequences that you want to monitor via the UI.

  3. Click on Save Sequence, once you are finished with the sequence. This will save the URL Sequence in IT360.

  4. Enter the URL SequenceName.

  5. Enter the Polling Interval. The default is 5 minutes.

  6. Enter the Host and Port number of IT360.

  7. Enter the Username and Password of IT360.

  8. You can view the newly created URL Sequence in the IT360 Web Client.

Control Panel:

You can edit the URL Sequence with the help of Control Panel. The Control Panel lists down all the recorded URLs in the particular Sequence. Deletion of recorded URLS is possible, using the del key.

Label:

Select any URL and enter the URL Label, with which the URL would be identified, under URL Details.

Alert Mechanism: 

Alerts would be generated, based on the following criteria;

Basic Authentication:

If the URLs require basic authentication, then enter the Username and Password.

2.2 Creating a New HTTP-URL Sequence Monitor through IT360 Webclient

  1. Login to IT360 console with the Username and Password of an Admin user.

  2. Click the Admin tab in the header pane.

  3. Click Discover/Add under Discovery.

  4. Choose the option Add from the Add / Discover type dropdown and select the Application radio button.

  5. In the Add New Monitor wizard displayed, click HTTP(s)-URL Sequence under Web Server/Services (see this screenshot). In the Add Monitor wizard displayed, do the following:

  6. Provide any Display Name for the URL sequence monitoring.

  7. Enter the URL Address of a web page, such as the Login page of a website.

  8. Check for specific html content, by entering any html content that is used to check the availability of the URL. This is optional.

Note: The content search is case-sensitive. If you provide 2 words, the content match is performed for the words separately. For example, if you specify the content as ME IT360, the match is found for ME and IT360 separately. If you need the content match to be performed for the complete text, specify the 2 words in quotes, example "ME IT360".
  1. Provide the Polling interval time (Monitor Web Page for given time), for which IT360 updates the status of the monitor.

  2. Provide the Form Submission Method. You can provide Post or Get request parameters for the URL.

  3. Check the Show Advanced option and fill-in the below details:

    1. Specify the value for Content for which error is to be generated.

    2. Specify the range of Response Code. e,g, < or >, exceeding which error should be shown.

    3. Enter Timeout value, in seconds. 

    4. Enable the checkbox, instructing that, if monitor detects error, re-try immediately to verify error.

    5. Enable Basic Authentication for this URL (if required). i.e. give the User Name and Password.
  1. Now, Associate the above Monitor Instances to a Business Service. i.e. choose the Business Service, to which you want to associate the HTTP-URL Sequence, from the combo box. If no Business Service is found, Create one by clicking the Create New Business Service link.
  1. Click Add URL to start monitoring the specified URL. This opens a screen listing the previous URL address and you can configure for the next URL. The details are given below;

i) Choose any of the below 4 options:

    Link: This lists all the available links/URLs in the starting or Login page URL in a combo box.

    Form: This lists all the names of Form type available in the Login page URL in a combo box. The required parameters of the form will be listed for input values in a text box provided below the combo box. Fill the parameters with value.

    Frame: This lists all the frames of the URL being monitored, in a combo box. Select the URL of the frame.

    Other URLs: You can enter the URL you want to request along with any name-value pairs needed to get to the next sequence step, even if those values are available through some other page element (such as a form).

ii) Click either Add URL, if you want to continue the sequence. Click Add URL and Finish to add the URL and finish the sequence. Click Finish to complete the URL Sequence monitoring, without adding the current sequence. The URL Sequence is a repetitive process, depending on the number of web pages and actions, and you have to follow the above step i and step ii, to complete the sequence.

URL Sequence Monitoring also has advanced options that need to be followed for URLs, with Form-based authentication. Refer to the steps (2-6) of URL Monitoring Advanced Options, to know details on advanced options.

Note: If you would like to set User Agent for monitoring URL sequence, add the following key in AMServer.Properties file located in your Applications Manager installation folder.
am.httpclient.useragent=<Browser User Agent which you would like to set>

 Example: am.httpclient.useragent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461; SV1)

 Save the file and restart Applications Manager for the changes to take effect.

 

Monitoring Dynamic URLs:

For Eg., If your login page has some hidden parameter that needs to be submitted while logging into your application and also the value for the hidden parameter is different for each login request. In this case, the hidden parameter value in the login page needs to be fetched dynamically and passed to the subsequent URL.

For monitoring these kind of dynamic URL Sequences, you can use $<Parameter name> [eg., $sessionID = 12] in the Request Parameter text box of the URL. So, while monitoring the URL Sequence, $<Parameter name> will fetch the dynamic values and pass it to the next URL in the sequence.

Note: While using the Recorder tool, you cannot specify the parameters in the Request Parameter text box, so instead, after adding the URL Sequence, go to corresponding URL's 'Edit Monitor' and enter the parameters.

Top

See Also:

Monitor Information - HTTP URL Monitors | Create Other New Monitors

Copyright © 2013, ZOHO Corp. All Rights Reserved.