Unsupported content This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

Configuring the HP Service Manager monitor adapter


You configure an adapter in BMC Atrium Orchestrator Grid Manager. The configuration provides information about how the adapter interacts with the HP Service Manager application. Though each adapter must have a unique name, you can create multiple adapters with the same adapter type to allow for different configuration properties.

The form view provides an easy-to-use interface for configuring adapters. The form view prevents errors that might occur when you copy the configuration XML from the adapter documentation into the UI during configuration. You can switch to the XML view to configure those elements and attributes that are not available as fields or to configure all the elements and attributes by using XML only. However, after you switch to the XML view and save the configuration in the XML form, you cannot thereafter use the form view for modifying the configuration. For details about the procedure to configure a monitor adapter, see the procedure in Configuring-the-HP-Service-Manager-actor-adapter.

The following table describes the configuration elements for the monitor adapter. You cannot use the form view to configure elements and attributes that do not have an entry in the UI label column.The [confluence_table-plus] macro is a standalone macro and it cannot be used inline. Click on this message for details.
 

The following figures show XML templates for the monitor adapter configuration with a plain and an encrypted password.

XML template for configuring the monitor adapter with a plain password

<config>
 <target></target>
 <user-name></user-name>
 <password></password>
 <javamail-debug></javamail-debug>
 <email-address></email-address>
 <protocol></protocol>
 <refresh></refresh>
 <mail-timeout></mail-timeout>
 <connection-timeout></connection-timeout>
 <disable-auth-login></disable-auth-login>
 <disable-auth-plain></disable-auth-plain>
 <delete-after-read></delete-after-read>
 <max-messages-per-connection></max-messages-per-connection>
</config>

XML template for configuring the monitor adapter with an encrypted base64 password

<config>
 <target></target>
 <user-name></user-name>
 <password encryption-type="Base64"></password>
 <javamail-debug></javamail-debug>
 <email-address></email-address>
 <protocol></protocol>
 <refresh></refresh>
 <mail-timeout></mail-timeout>
 <connection-timeout></connection-timeout>
 <disable-auth-login></disable-auth-login>
 <disable-auth-plain></disable-auth-plain>
 <delete-after-read></delete-after-read>
 <max-messages-per-connection></max-messages-per-connection>
</config>

Enabling custom logging

To enable custom logging for the adapter, you must specify a log file name. You can also provide additional parameters for logging.

Note

You must be using BMC Atrium Orchestrator Platform version 7.8 or later to use the custom logging feature. These parameters will be ignored in earlier versions of BMC Atrium Orchestrator Platform.

These parameters are available with supported adapter versions. See your adapter documentation for details.

  • Log File Name: Provide a name for the log file.
    This file will be stored in the AO_HOME/tomcat/logs directory. If Log File Max Backup Index value is greater than 0, the log file name is suffixed with the backup index. For example, if the parameter value is a.log, backup log files will have names, such as a.log.1, a.log.2.
  • Log File Size: Specify a size limit for the log file. 
    If the value specified for Log File Max Backup Index is greater than 0, when the specified size is reached, the current file is renamed with the suffix .1. Otherwise, the log file will be reset and over-written. The default value is 10MB. The available units are KiloBytes (KB), MegaBytes (MB) or GigaBytes (GB).
  • Log File Max Backup Index: Enter the maximum number of backup files allowed. The default value is 10.
  • Log File Append: Select this option to append new log information to the existing information in the file. If unselected, the file will be overwritten with new log information.
  • Log Level: Enter the logging level using one of the following choices:

    Logging level

    Description

    DEBUG

    The most detailed logging level; logs low-level messages, normal execution, recoverable erroneous conditions, and unrecoverable erroneous conditions

    INFO

    (default)

    Logs normal execution, recoverable erroneous conditions, and unrecoverable erroneous conditions

    WARN

    Logs recoverable erroneous conditions and unrecoverable erroneous conditions

    ERROR

    The least detailed logging level; logs only error conditions that are not usually recoverable

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*