You can create a custom event by using Mbeans that implement javax.management.NotificationBroadcaster/NotificationEmitter
Select the deployed custom Mbean from the drop-down list or specify the Object Name of the custom Mbean.
The Object Name is of the form = domain:type=implementation-class-name,name=implementation-class-name, where domain is the JMX Domain where the MBean is registered.
Specify the notification type.
Enter a description for the event associated with this management rule.
Specify the action you want performed when the monitored data meets the condition specified in the event type.
Select Finish to save your management rule.