A component-based enrichment policy enables you to enhance the event definition of an incoming event that is already associated with a component through an mc_smc_id or mc_smc_alias match. When you define the component-based policy, you assign specified slot values from a standard list of component slots (BMC_BaseElement class) to matching slots in the associated event definition. Whenever an event that matches the selection criteria is received, its definition is automatically enriched by the specified component slot values.
To create a new component-based enrichment policy
- From the Event Management Policies tab of the Administration View, expand the By Policy Type folder.
- Under the By Policy Type folder, select Component Based Enrichment Policy.
- Click the 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 event selector controls which events are processed by the policy and, consequently, which event slots are displayed in the Event fields list.
The Component Based Enrichment Policy Details tab is displayed in the details pane of the Administration View as shown in the following figure.
Component Based Enrichment 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.
Assign a numerical value to the policy in the Execution Order box.
The numerical value indicates the order in which policies are automatically run. Policies are run in ascending chronological order. A policy with the lowest numerical value is run first while the policy with the highest numerical value is run last. During the execution phase, policies with higher numerical values always overwrite the preceding policies with lower numerical values.
You should assign higher numerical values to policies that you want to run last and lower values to policies that you want to run first.
- 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:
- In the Component Based Event Enrichment Details tab, assign the component slots to the matching event slots in the Match the Component and Event Slots section.
Consider these guidelines before you make the assignments:
- The list of event slots is dynamic insofar as it depends on the base event class you chose in the selector. The list that you see always contains a subset of the CORE_EVENT class. It also contains any additional slot or slots derived from the subclass you specified as the base event class.
- The list of component slots is static. The component slots are derived from the BMC_BaseElement class.
- You can view and edit a list of excluded event and component slots in the installationDirectory\pw\server\pronto\data\ix\configurationItemPolicies\configurationItemEnrichment.slotFiltering.properties file. You can specify event and component slots to be excluded in the appropriate field: excluded.event.slots and excluded component.slots. Add or update the slots using a comma-separated list.
After updating and saving the configurationItemEnrichment.slotFiltering.properties file, restart the TrueSight Infrastructure Management server by entering the following command:
pw system start
- The component slot value overwrites any current value in the matching event slot.
You must match slots of similar types: STRING with STRING, INTEGER with INTEGER, BOOLEAN with BOOLEAN, and so forth.
The table does not support the assignment of LIST or LIST OF slots.
To make the assignment, select a slot name in the Event fields column and, using the arrow button, move it to the Assignment Table, where you match it with a slot in the Component fields column.
- Click OK.
administration console saves the defined component-based enrichment policy, and it is displayed in the list of event policies for the selected event selector.