
19C H A P T E R 1 9
Configuring Management Rules
This section contains information about setting administration policies to automate routine administration tasks, configure
This section contains the following topics:
■“About Management Rules” on page 215
■“Configuring Management Rules” on page 216
About Management Rules
Management rules enable you to automate routine administration tasks, configure
A management rule consists of two parts — event and action:
■An event uses the JMX notification mechanism to trigger a predefined action.
■An action is triggered when an associated event occurs. An action is an MBean which is a notification listener which implements javax.management.NotificationListener.
For example, an event could be a SEVERE message logged by the EJB logger, and an action could be alerting an administrator with the log message contents. When the event happens, event data is passed as part of userData part of the javax.management.Notification.
The action specified in your rule has to be implemented as a custom MBean. Therefore, before configuring a management rule, you should deploy a custom MBean designed to receive event
215