An closure policy closes an existing event when a new specified event is received and also closes new events whenever the slot changes for that event.
To create a new closure policy
- Log on to the BMC Infrastructure Management Administrator Console.
- From the Event Management Policies tab of the Administration View, expand the By Policy Type folder.
- Under the By Policy Type folder, select Closure Policy.
- Click Add Event Policy.
A Selector Chooser dialog box is displayed.
- From the Selector Chooser dialog box, select the event selector that you want to use for this policy and click OK.
The Closure Policy Details tab is displayed in the details pane of the Administration View as shown in the following figure.
Closure Policy Details tab
- In the Policy Name field, type a unique alphanumeric name for the event management policy. The name must contain no spaces.
- In the Description field, type a description of the event management policy.
- To enable the event management policy, select the Enabled check box. If you do not want to enable the policy at this time, you can return to this dialog box and enable the policy later.
- In the Policy Activation Timeframes section, define the periods of time the event management policy should be active (when enabled) by performing the following actions:
- Select one of the following choices:
- To make the event management policy active continuously, select Always Active.
- To specify when the policy is active or inactive, select Define Activation Timeframes.
The Active Timeframes and Not Active Timeframes check boxes are enabled.
- If you selected Define Activation Timeframes, depending on how you want to define the timeframe for your policy do one or both of the following:
To specify the periods of time when the policy should be active, select the Active Timeframes check box and one or more timeframes from its scrollable list.
To specify the periods of time when the policy should be inactive, select the Not Active Timeframes check box and one or more timeframes from its scrollable list.
You can select both check boxes to create active and inactive time periods. However, the inactive time period takes precedence over the active time period.
- In the Events to close area, define the event criteria for the event you want to close. There are two options:
- Close existing events - closes existing events based on the criteria you define:
- Click Edit Event Criteria. The Edit Criteria dialog box is displayed.
- Specify event selection criteria for the event type that you want to close and click OK.
- To close only matching events that occur within a certain timeframe, check the Close Events with Age Less Than check box and specify an amount of time. If the Close Events with Age Less Than check box is not checked, there is no limit on the time between the closed event and the closing event.
- To suppress (drop) the closing event, check the Suppress the Closing Event check box.
In this context, the closing event is the event that matches the selector criteria and that closes the previously received events, which are identified in the Events to Close section. For example, a "client-stop" event can be chosen to close a "client-start" event.
When you suppress the closing event, you instruct the system to drop the event that matches the selector. This closes the previously received events in the Events to Close section. In the example, the client-stop event, after closing the client-start event, would then be dropped.
- Close New Events upon following conditions - closes new incoming events based on the criteria in the drop-down lists:
- Select the slot type, operator, and condition to match.
Note: You will not be allowed to set the condition as Status==CLOSED.
- To save the completed event closure policy, click OK.
The Administrator Console saves the defined event management policy, and it is displayed in the list of event policies for the specified event selector.