Sun Java System Application Server Platform Edition 9 Administration Guide

ProcedureTo Configure New Management Rule

To set up a new management rule, perform the following steps:

  1. Access the Management Rules page by going to Configurations > Admin Service > Management Rules.

  2. Ensure All Rules is checked.

    This enables Management Rules globally. If this is unchecked none of the management rules will be executed.

  3. Select New.

  4. In the Name field, provide a name for this rule. For example, Rule1.

  5. Check Enabled to activate this rule.

  6. Enter a description that identifies this rule

  7. Select the Event Type from the drop-down list.

    The Event Type specifies the condition to execute the rule. All events are based on the JMX notification mechanism. You can create a custom event by using Mbeans that implement javax.management.NotificationBroadcaster/NotificationEmitter.

    The following event types are available:

    • Monitor events

      To monitor an attribute of an Mbean.

    • Notification events

      Notification events from a custom Mbean.

    • Lifecycle events

      Corresponds to events in the com.sun.appserv.server.LifecycleEvent interface.

  8. Check to enable the event type to be logged.

  9. Set the log level for this management rule.

    The default is INFO.

  10. Select Next to go to the final part of setting your management rule.

    The subsequent administration screens will depend on the type of event you have selected.