Show TOC

Creating Alert ConsumersLocate this document in the navigation structure

Prerequisites

Context

In component-based message alerting, an alert consumer registers itself for alert rules, fetches the alerts from Alert Engines, processes the alerts, and sends notifications to users as needed. You can develop a custom alert consumer that can do all this using the APIs provided with the alerting infrastructure in SAP Process Integration (PI). You can do this when the alert consumption functionality provided by SAP in SAP Solution Manager and the simple local alert consumer is not available in your infrastructure, or when you want to implement specific features in your alert consumer.

Procedure

  1. Configure the connectivity between the PI systems and the systems where the alert consumer would be developed and run.
  2. Create an alert consumer application that has the following features:
    • A Web service client that can use the alerting API on the Alert Engines to retrieve alerts from them.

    • A Web service client that can use the API on the Integration Directory to register itself for alert rules, search for alert rules, and so on.

    • Business logic that stores the received alerts, processes the alerting information, and sends notifications to users.

  3. Install the alert consumer application on a system and configure the connectivity between this system and the following systems:
    • The central PI system where you create and configure alert rules.

    • All systems with an Alert Engine from which the alert consumer would retrieve alerts.

  4. Subscribe your alert consumer for alert rules as necessary.
  5. Configure when and how the consumer should retrieve alerts and send notifications.

    Depending on the business logic implemented, you might also perform these operations manually.

Results

The alert consumer fetches the alerts from Alert Engines, processes the alerts, and sends notifications to users.

Next Steps