WebSphere brand IBM WebSphere Sensor Events, Version 6.2

Reusable Event Monitor component and sample user interface

The Reusable Event Monitor component enables WebSphere® Sensor Events applications to include dynamic event information.

The Reusable Event Monitor monitors the SIBus and provides the following functions:

SIBus event message caching
The event monitor component caches SIBus messages to a JMS queue on the SIBus. Each event placed into the queue is given a time to live (TTL). When the TTL expires, the event is automatically deleted from the queue. The SystemAgent property, com.ibm.premises.eventmonitor.TTL, can be set to override the default TTL value of 600000 milliseconds (which is 10 minutes).
Message retrieval
A session EJB provides access to the cached messages, which are returned in descending event header dateTime order. The format of the returned events is JavaScript™ Object Notification (JSON) text.
Filtered message retrieval
Client code can also provide a message selector to filter which messages are retrieved by the session EJB. If a message selector is given, only those messages where the message selector evaluates to true are retrieved. For example, to retrieve all alert events use a message selector of: ibmse like 'dccontroller/report/diagnostic/alert/%'. If no message selector is given, all messages are received.
JavaScript libraries
JavaScript libraries provide the underlying AJAX request and JSON event processing functions.
Sample user interface
The sample event monitor user interface illustrates how you can build a dynamic user interface using the deployed event monitor EAR and the JavaScript libraries. For details on how to create your own user interface, refer to the WebSphere Sensor Events Toolkit documentation.

Enabling the event monitor

The event monitor is not enabled by default. Use these steps to enable it.

Procedure
  1. In the WebSphere Application Server administrative console navigate to Resources > JMS > Activation specifications.
  2. Modify the message selector of EventMonitorAS by removing ibmse='off'.
  3. Use the WebSphere Sensor Events Administrative Console to edit these SystemAgent properties: com.ibm.premises.eventmonitor.max.queue.size and com.ibm.premises.eventmonitor.on
  4. Restart WebSphere Application Server.

Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2009. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.