< Previous | Next >

Configuring WebSphere Business Monitor for business situation events

In this lesson, you will configure WebSphere® Business Monitor to create alerts by configuring Action Services to send notifications when business situation events are received.

The situation events are defined in and sent by the monitor model as outbound events. The notifications are visible as alerts in the Alert view on your dashboard.
  1. Click Window > Preferences. Expand General and click Web Browser. Select Use external Web browser. Click OK.
  2. In the Servers view, right-click WebSphere Business Monitor Server v6.2 on WebSphere Process Server and select Administration > Run administrative console. The administrative console opens in a new window (if a Security page displays, select the option to continue to the website or add this connection as an exception, depending on the browser being used). The administrative console prompts you for a user ID and password. For the user ID, enter admin. For the password, enter admin. Click Log in.
  3. Add an alert template for when the percentage of shipped orders needs attention.
    1. In the administrative console, select Applications > Monitor Services > Monitor Action Services > Template Definitions > Notifications and click New.
    2. For the template name, enter AlertShip, and then enter any description.
    3. Select Dashboard Alert. This indicates an alert is sent to the business dashboard's alert view.
    4. Select User id.
    5. In the To field, enter admin. This user ID is the user logged into the business dashboard that receives the alert. You must log into the business dashboard with this user ID.
    6. In the Subject field, enter Percentage of shipped orders. This is the title of the alert in the dashboard.
    7. In the Body field, enter Percentage of shipped orders is less than 85.
    8. Click OK.
    Percentage of Shipped Orders
  4. Add an alert template for when order processing time needs attention.
    1. In the administrative console, select Applications > Monitor Services > Monitor Action Services > Template Definitions > Notifications and click New.
    2. For the template name, enter AlertTime, and then enter any description.
    3. Select Dashboard Alert. This indicates an alert is sent to the business dashboard's alert view.
    4. Select User ID.
    5. For the To field, enter admin. This user ID is the user logged into the business dashboard that receives the alert. You must log into the business dashboard with this user ID.
    6. For the Subject field, enter Order processing time.
    7. For the Body field, enter The average order processing time is %AverageOrderprocessingTime% days.
    8. Click OK.
  5. Add the binding from the situation event to the action type of the alert template for shipped percentage situations:
    1. In the administrative console, select Applications > Monitor Services > Monitor Action Services > Installed Situation Event Bindings and click New.
    2. Enter the situation event name you defined in the model. You named the business situation Shipped Percentage Event. The name must match the value in the BusinessSituationName field in the outbound event. You might want to copy the name from the monitor model (without the quotation marks).
      Outbound Event Content
    3. Enter any description and then click Apply.
    4. In the table under Preferences, click Add.
    5. Enter a binding name, for example Shipped Percentage Event, and then select the template AlertShip.
    6. Click OK. Notice you now have one action defined for this situation event. If you had other action templates defined, then you could add more actions to this event and you could send a notification for this situation event to multiple destinations using e-mail, alerts, and Web services.
      New Situation Event Binding General Properties
    7. Click Ok.
  6. Add the binding from the situation event to the action type of the alert template for action processing time situations.
    1. In the administrative console, select Applications > Monitor Services > Monitor Action Services > Installed Situation Event Bindings and click New.
    2. Enter the situation event name that you defined in the model. You named the business situation Order Fulfillment Event. The name must match the value in the BusinessSituationName field in the outbound event. You might want to copy the name from the monitor model (without the quotation marks).
    3. Enter any description and then click Apply.
    4. In the table under Preferences, click Add.
    5. Enter a binding name such as Order Fulfillment Event, select the template AlertTime, and then click OK.
      New Situation Event Binding tab
    6. Click OK.
    7. In the administrative console, select Applications > Monitor Services > Monitor Action Services > Installed Situation Event Bindings. You see the two bindings you created.
      Installed Situation Event Bindings
< Previous | Next >