The Reusable Event Monitor component
enables WebSphere® Premises Server applications
to include dynamic event information.
The
Reusable Event Monitor 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. See the WebSphere Premises Server gateway
documentation for a list of properties available in the message selector.
- 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 Premises Server Toolkit documentation
that is installed with the toolkit.