5.1 Default Templates

This section describes the default mappings between the Enterprise Manager event data fields and the OMU message data fields.

XML Style Sheet (XSL) files contain the mappings between the two systems. These files are located in the Self Update archive that was installed in Installing the Connector in Enterprise Manager. To extract the installation file, perform the steps in Exporting the Template Files.

Table 5-1 lists the XSL files that perform the mappings and provides a summary of each.

Table 5-1 XSL Files that Perform Mappings

File Description

createEvent_request.xsl

Transforms the Oracle Enterprise Manager event data to the HP Operations Manager message format for the createEvent operation.

updateEvent_request.xsl

Transforms the Oracle Enterprise Manager event data to the HP Operations Manager message format for the updateEvent operation.

The following sections provide details about the default mappings in each of the files.

5.1.1 Create Event Template

The Oracle Enterprise Manager Connector Framework invokes the createEvent operation whenever an event is generated in Oracle Enterprise Manager and there is a rule configured to invoke the OMU connector. createEvent_request.xsl is invoked during the process to transform the data from Oracle Enterprise Manager format to OMU message format. Table 5-2 lists the default field mappings between the HP Operations Manager message and the Oracle Enterprise Manager event.

Table 5-2 Create Event Template Mapping

Operations Manager Field Name Value

Message Text

Set to the formatted contents of the incident as specified in Formatted Enterprise Manager Event Contents.

Severity

Set the severity based on the event severity as specified in the section below entitled Formatted Enterprise Manager Event Contents.

Message Group

Hard-coded to "OracleEnterpriseManager."

Object

Set to the event TargetName field.

Node

Hard-coded to "OracleEnterpriseManager."

Application

Set to the event TargetTypeLabel field.

5.1.2 Update Event Template

The Oracle Enterprise Manager Connector Framework invokes the updateEvent operation whenever an event is generated in Oracle Enterprise Manager and there is a rule configured to invoke the OMU connector. updateEvent_request.xsl is invoked during the process to transform the data from Oracle Enterprise Manager format to OMU message format. Table 5-3 lists the default field mappings between the HP Operations Manager message and the Oracle Enterprise Manager event.

Table 5-3 Update Event Template Mapping

Operations Manager Field Name Value

Message No.

Set to the event ExternalEventId field.

Message Text

Set to the formatted contents of the incident as specified in Formatted Enterprise Manager Event Contents

Severity

Set the severity based on the event severity. See Severity Mappings for details.

Message Group

Hard-coded to "OracleEnterpriseManager."

Object

Set to the event TargetName field.

Node

Hard-coded to "OracleEnterpriseManager."

Application

Set to the event TargetTypeLabel field.