Page tree

With Web URL Container as the selected monitor type, the Add Monitor Types dialog box enables you to configure details to monitor different Web URLs. For more information, see Configuring monitoring settings.

Specify the following details of the Web URL you want to monitor:

Field

Description

Instance name

Enter the Web URL instance name. This is displayed on folders, graphs, lists, etc. If the instance name contains a space, it is not considered.

Example: If "bmc software" is the instance name, it would be considered as "bmcsoftware".

Web URLEnter the standard format of the Web URL you want to monitor. Include the protocol (HTTP or HTTPS) as part of the URL.
Poll interval (sec)

Specify the time interval between two consecutive statistical data polls. Default is 60 seconds. 

Timeout (sec)Specify the time-out period for each poll of statistical data. If no data is available at the end of this interval, the system records Zero availability and proceeds with the next scheduled poll. Default is 30 seconds.
Download full page

Select this check box to download all the contents on the page (including images and other linked components). By default, only text data is downloaded.

Note

The page is not stored anywhere. When you select this option, all the page contents are downloaded in a private memory. When the time is calculated, the memory is cleaned.

Enable monitoring

Select/clear check box to enable/disable data monitoring for the instance. Monitoring is enabled (check box selected). 

Content match options

Alert on pattern not found (Positive match)

Specify a string that you not want to find within the page whose URL you are monitoring. For example, let us suppose that you are monitoring a URL and you want to be alerted if the string "Google" is not present in the page content. If the word "Google" is not present on the page, the content match parameter goes into the alarm state and the following annotation is displayed:

Positive string was not found: [Google]

The value of the Content match parameter is derived from the value of the positive and negative match. If the positive match was not found or the negative match was found, the value of the Content match parameter is 1. Otherwise, the value of the Content match parameter is 0. For example, you are monitoring the www.Google.com and your positive string is Error and negative string is Google. In this case, the positive match would not be found and negative match would be found on the monitored URL. Therefore, the value of the Content match parameter would be 1.

Alert on pattern found (Negative match)

Specify a string that you want to find within the page whose URL you are monitoring. For example, let us suppose that you are monitoring a URL and you want to be alerted if the string "ERROR" is present in the page content. If the word "ERROR" is present on the page, the content match parameter goes into the alarm state and the following annotation is displayed:

Negative string was found: [ERROR] 

The value of the Content match parameter is derived from the value of the positive and negative match. If the positive match was not found or the negative match was found, the value of the Content match parameter is 1. Otherwise, the value of the Content match parameter is 0. For example, you are monitoring the www.Google.com and your positive string is Error and negative string is Google. In this case, the positive match would not be found and negative match would be found on the monitored URL. Therefore, the value of the Content match parameter would be 1.

Source encoding

This value is used by the Web URL monitor if it is unable to determine the character encoding of the page. Usually, the encoding information is specified in the HTTP response header and/or in the META tags of the page. In these cases, if the specified URL refers to a page that has Non-English content, it is necessary to enter the character encoding of the page. Example: Korean Encoding specified as euc-kr; Japanese Encoding specified as euc-jp or shift-jis.

Java script

Note:

Enable the Include internal script execution or Include external script execution check box only if you want to monitor JavaScript of the URL as it results in high usage of system resources. For more information on the JavaScript parameters, see Java script (WUM_JS).

Include internal script execution

Select or clear the check box to enable or disable web URL monitoring that includes execution of any Java script included in the defined web URL. By default, collect internal Java script is disabled (check box cleared).

Include external script execution

Select or clear the check box to enable or disable web URL monitoring that includes execution of any external Java script referred by the defined web URL. By default, collection of external Java script is disabled (check box cleared).

Execution time (ms)

Specify the execution time. Execution time is the time taken to execute a single Java script. The monitor measures the Java script code execution time and reports the Java scripts that exceed the defined execution time. By default the execution time is 100 milliseconds.

Valid values: 10 to 10000 milliseconds.

Proxy
HostEnter the name/IP address of the computer hosting the proxy server.
PortEnter the port on which the proxy server is configured to listen for connections.
Username

Enter the user name used to access the proxy server. 

Password

Enter the password corresponding to the user name. 

Client Certificate Details

The KM supports monitoring of URLs that require Client Certificates by importing the Java key store database file (known as the .jks file) into the KM. 

When you configure the URLs to be monitored that require a client certificate, those client certificates should be already imported into the .jks file so it can be used while communicating with the URLs. An authorization error will occur if the required certificates are not found in the .jks database file. 

.jks file path

Enter the path (along with the file name and .jks extension) where the Java key store database file is located.

The Java key store database file must be accessible from the host where the PATROL Agent is running. BMC PATROL default account must have read permission on the directory where the .jks file is located.

KeyStore password

Enter a password for the Java keystore database file. This password is used by the KM to open the java keystore database (aka .jks file).

 
Add to List

To add the Web URL to the list, click Add to List button.

Modify Selection

To save the changes made to the Web URL already added, click Modify Selection button.

Remove from List

To remove the selected Web URL from monitoring, click Remove from List, button.

List Web URLA list of all configured Web URLs is displayed here.

After you add the Web URLs, enter the following details in the Administration section: 

FieldDescription
Root application display nameSpecify the display name of the root application. By default, the root application display name is Web URL.
File base policy configurationSelect/clear the check box to configure the Web URLs from a file. The file is located at %PATROL_HOME%\WUM\Conf\ImportInstances\ImportInstances.txt, on the server where PATROL Agent is running.
Enable device mappingSelect/clear check box to enable/disable device mapping. Enabling device mapping consolidates Web URL monitoring at device level. By default, device mapping is enabled (check box selected).
Enable debug

Select/clear check box to enable/disable debugging. The log files are located at %PATROL_HOME%\WUM\logs,on the server where the PATROL Agent is running. By default, the debug is disabled (check box cleared).

When the log file reaches the maximum size, logs are rolled over to newer files ranging from <Port number>_WUM_JavaCollector.0.txt to <Port number>_WUM_JavaCollector.4.txt.

JAVA_HOME

Enter the complete path of the Java home directory if you are not using the JRE that is installed with the PATROL Agent.

Example:

  • (Windows) - If the JRE files reside at C:\Program Files (x86)\Java\jre8\bin\java.exe location then specify the path as C:\Program Files (x86)\Java\jre8
  • (Unix/LINUX) - If the JRE files reside at /usr/java/jdk1.8.0_65/bin/ location then specify the path as /usr/java/jdk1.8.0_65

After adding all relevant hosts, click the Close button. Then click the Save button in the Add Policy dialog box.

Configuring web URLs from a file

You can also configure multiple URLs to monitor in a file. For this purpose, create a file called ImportInstances.txt and add all the URLs that you want to monitor to the file in the following format:

instance name|the URL|poll interval time in seconds|timeout in seconds

For example: 

BMC|http://bmc.com|300|30

Google|http://google.com|300|30

You must save the ImportInstances.txt file at the following location: C:\Program Files\BMC Software\Patrol3\WUM\Conf\ImportInstances.


  • No labels

17 Comments

  1. can we get specifics on the Collector.Properties file?  What are the definitions of these attributes?  

    debug=0
    ConnectionPoolMax=2
    CommandTimeout=60
    SetMaxThreads=1000
    SetMinThreads=100
    DebugFileName=WUM_JavaCollector.txt
    ConnectionPoolMin=1
    ConnectionTimeout=60
    OperationTimeout_InSec=60

    Should these be altered if we are doing a large amount of WUM from a single Patrol Instance?

     

     

  2. Can we get an expansion or examples on configuring URLs from a file?

  3.  

  4. In the "Content Match options" portion of the configuration, there are two sections - Alerts on pattern not found (Positive Match) and Alert on pattern found (Negative Match). In both these sections it is mentioned that the value of "Availability" attribute is changed to 0 when the match is found/not found. This is incorrect. The parameter "Availability" does not change depending on the Content Match. The Parameter that changes the value and triggers an alert is ContentMatch instead.

  5. Hello,

    I think that the explanation of "Positive match" and "Negative match" is confusing and somethings are wrong. 

    After doing some tests, I concluded this:

    1.- If the string considered in the "Positive Check" is found, is considered as OK (value 0 = False). If not found, is considered as "not Ok" (value 1 = True).

    2.- If the string considered in the "Negative Check" is found, is considered as "not Ok" (value 1 = True). If not found, is considered as "Ok" (Value 0 = False).

    So:

    The true/flase terminology is confusing.

    The documentation is wrong about "Positive match" and "Negative Match", as it says the opposite of what really happens.

    1.  



  6.  

    1.  

    2.  

      1.  

  7. Is it possible to use some sort of macros in the URL e.g. the hostname?

    1. Hello Patrick Mischler ,

      As long as macro is part of the URL and the web server has responded, you can use macros in the URL. For more information, do contact BMC Support.

      Thanks and regards,

      Swati 


  8. Can Content Matching be done in text based config file?

    1. Hi Giles Day,


      Content matching in text-based config files is not possible.

       

      Thanks and regards,

      Swati


  9. Hi, 

    Which variable stores the URL (for MRL filles) ?

    1. I believe you are looking for this variable:

      /ConfigData/INET_Web_Application/URLs/<Label>/URL" 
    2. Ofir Peleg , please see the reply from Sharon Thompson .

      Thanks