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.