Integrate > Oracle Enterprise Manager > Configure > Installing and Configuring Event Connector

Installing and Configuring Event Connector

Depending on your OEM product version and the chosen security level of communication between OEM and Ops Connector for OEM, event integration requires you to complete the applicable procedures from the following list:

  • Actions set-up for OEM Cloud Control 12c or 13c.

  • Optional: Configuration of SSL-based communication for OEM Cloud Control 12c or 13c.

  • Actions set-up for OEM Grid Control 11g.

  • Optional: Configuration of SSL-based communication for OEM Grid Control 11g.

REST Web Service that sends event data from Ops Connector for OEM to Operations Connector uses SSL for secure communication by default.

Setting Actions for OEM Cloud Control 12c or 13c

To set up actions for OEM Cloud Control 12c or 13c, perform the following steps:

  1. Make sure the Oracle Enterprise Manager Software Library is configured. If you do not have a valid Oracle Support account, set the Connection option in the Online and Offline Settings page to Offline.

  2. Copy the HPE_Operations_Connector.zip file from
    <OvDataDir>/installation/HPBsmIntOEM/event-connector/ to your OEM host.

  3. To import the HPE_Operations_Connector.zip file, run the following commands:

    emcli login -username=SYSMAN

    emcli import_update -file="<PathToArchive>/HPE_Operations_Connector.zip" -omslocal

    The emcli tool is typically located in the <OEMHome>/bin directory.

  4. Log on to your Oracle Enterprise Manager Console and navigate to Setup > Extensibility > Self Update.

  5. Click the Management Connector type.

  6. Select Operations Connector for Oracle Enterprise Manager 12c and 13c and click Apply.

  7. Navigate to Setup > Extensibility > Management Connectors.

  8. From the drop-down list, select Operations Connector for Oracle Enterprise Manager 3.1.1.0.0 and click Go to create a new connector.

  9. Follow the wizard: enter a connector name, then enter an optional description, and finally click OK.

  10. Select the newly created Management Connector (Operations Connector) and then click Configure.

  11. In the Connection Settings part of the General page, update the predefined hostname inside the Web Service End Points text boxes to match the hostname of your Operations Connector system, and then change the predefined port number to 30100. If this port number is already used by another application, replace the value accordingly. In this case, update the port option in the event integration configuration file, and restart the event integration service as described in Restarting the Services topic.

    Optional: Enable the Retry option and set an expiration time.

    Click OK.

  12. Navigate to Setup > Incidents > Incident Rules.

  13. Edit or create a new rule set and use your newly created Event Connector to forward events.

    Example Configuration

    1. To create a new rule set, click Create Rule Set....

    2. In the Create Rule Set page, enter the name of the rule set.

      Optional: Provide a short rule set description.

      Rules in a rule set act on events, incidents, and issues from a specific set of source objects. From the Applies to drop-down list, select one of the four available types of source objects for the rule set: Targets, Job, Metric Extensions or Self Update.

    3. If you select the Targets tab, you can specify targets to which this rule set applies in the Targets page.

    4. To create a new rule, select the Rules tab and click Create....

    5. Select the type of the rule and click Continue.

    6. From the Type drop-down list, select the type of events this rule should act on and then click Next.

      Optional: Specify additional criteria to filter out non-applicable events.

    7. Click Add to specify the actions to be taken upon the rule.

    8. Enable Forward to Event Connectors: Under Available Connectors, select  Operations Connector for Oracle Enterprise Manager and then click the single arrow right button to place it under Selected Connectors.

      Click Continue.

    9. To continue to the Specify name and Description page, click Next.

    10. Enter a name and a description for the rule. Click Next.

    11. In the Review page, click Continue.

      The following message is displayed:

      Click OK.

    12. To finish creation of the rule set, click Save.

    You can always create new rules in the rule set. Select a rule set and click Edit. Create a new rule as described in the previous steps.

    In the following example, there are two different rules stored in a rule set. The first applies to all Target Availability events and the second applies to all Metric Alert events.

Configuring SSL-based communication for OEM Cloud Control 12c or 13c

To configure SSL-based communication for OEM Grid Control 12c or 13c, perform the following steps:

  1. On the Operations Connector host, locate the certificate file that is specified for the ssl-cert option in the source section of the event integration configuration file, and then copy the certificate file to the OEM host.

  2. On the OEM host, append the certificate to the <OEMHome>/sysman/config/b64LocalCertificate.txt file.

    Make sure to append only the following certificate file content:

    -----BEGIN CERTIFICATE-----
    <<<Certificate in the Base64 format>>>
    -----END CERTIFICATE-----

    Do not include blank lines, comments or any other special characters.

  3. To enable security for the Oracle Management Service by using the chosen certificate, run the following command:

    emctl secure oms -trust_certs_loc \
    <OEMHome>/sysman/config/b64LocalCertificate.txt

  4. To restart Oracle Management Service, run the following commands in the presented order:

    emctl stop oms

    emctl start oms

After you add a third-party certificate to the b64LocalCertificate.txt file, avoid running the emctl secure oms command. In case this command requires to be run, repeat the previous steps after the command completes to ensure the CA certificate is readded and available for SSL‑based communication again.

Setting Actions for OEM Grid Control 11g

To set up actions for OEM Grid Control 11g, perform the following steps:

  1. Copy the HPE_Operations_Connector.jar file from
    <OvDataDir>/installation/HPBsmIntOEM/event-connector/11g to your OEM host.

  2. Run the following commands to register the Event Connector component with OEM:

    The emctl tool is typically located in the <OEMHome>/bin directory.

    1. To extract the content of the JAR archive to the <EventConnectorHome> directory, run:

      emctl extract_jar connector -jar <PathToArchive>/HPE_Operations_Connector.jar \
      -cname " Operations Connector"

    2. To register the connector, run:

      emctl register_connector connector -dd \
      <EventConnectorHome>/HPBSMConnector.xml -repos_pwd <SysmanPassword>

    3. To register the createEvent templates, run:

      emctl register_template connector -t \
      <EventConnectorHome>/createEvent_request.xsl -repos_pwd <SysmanPassword> \
      -ctname " Operations Connector" -cname " Operations Connector" -iname createEvent \
      -tname "Create Event Request Transformation" -ttype 2 \
      -d "Create Event Request Transformation"

      emctl register_template connector -t \
      <EventConnectorHome>/createEvent_response.xsl -repos_pwd <SysmanPassword> \
      -ctname " Operations Connector" -cname " Operations Connector" -iname createEvent \
      -tname "Create Event Response Transformation" -ttype 1 \
      -d "Create Event Response Transformation"

    4. To register the updateEvent templates, run:

      emctl register_template connector -t \
      <EventConnectorHome>/updateEvent_request.xsl -repos_pwd <SysmanPassword> \
      -ctname " Operations Connector" -cname " Operations Connector" -iname updateEvent \
      -tname "Update Event Request Transformation" -ttype 2 \
      -d "Update Event Request Transformation"

      emctl register_template connector -t \
      <EventConnectorHome>/updateEvent_response.xsl -repos_pwd <SysmanPassword> \
      -ctname " Operations Connector" -cname " Operations Connector" -iname updateEvent \
      -tname "Update Event Response Transformation" -ttype 1 \
      -d "Update Event Response Transformation"

  3. After you have successfully run the commands, do the following:

    1. Log on to your Oracle Enterprise Manager Console, and navigate to Setup > Management Connectors.

    2. Click Configure of the Operations Connector entry.

    3. In the Connection Settings part of the General page, update the predefined hostname inside the Web Service End Points text boxes to match the hostname of your Operations Connector system, and then change the predefined port number to 30100. If this port number is already used by another application, replace the value accordingly. In this case, update the port option in the event integration configuration file, and restart the event integration service as described in Restarting the Services topic.

    4. In the Enterprise Manager Username and Enterprise Manager Password text boxes, specify the OEM administrator credentials.
    5. Click OK to save the changes.

  4. Navigate to Preferences > Rules and assign the new notification method to the chosen rules:

    1. Click Assign Methods to Multiple Rules and then select By Method from the View drop-down list.

    2. Select the rules you want to integrate with the event connector.

  5. Make sure your rules also send the Up, Down, and Clear notifications:

    1. Navigate to Preferences > Rules.

    2. Select a rule and click View.

    3. In the Availability section, make sure the Up and Down options are set to the value Yes.

    4. In the Metrics section, ensure all your metrics have the values Critical, Warning, and Clear present in the Severity States column.

Configuring SSL-based communication for OEM Grid Control 11g

To configure SSL-based communication for OEM Grid Control 11g, perform the following steps:

  1. On the Operations Connector host, locate the certificate file that is specified for the ssl-cert option in the source section of the event integration configuration file, and then copy the certificate file to the OEM host.

  2. On the OEM host, determine the home directory of the Java Runtime Environment (JRE).

  3. Open a Command Prompt window (command shell) and change the current directory to the bin subdirectory within the JRE home directory.

  4. To add the certificate to the cacerts keystore, run the following command:

    keytool -importcert -keystore ../lib/security/cacerts -storepass ChangeMeASAP \
    -trustcacerts -file <CertificateFilename> -alias bsmc_ca

  5. To restart Oracle Management Service, run the following commands in the order:

    emctl stop oms

    emctl start oms

Related topics

Restarting the Integrations