Previous Topic: Event Management Example 3: Create a New Event to Indicate a Crashing ServiceNext Topic: Event Management Example 5: Normalize Monitoring Traps


Event Management Example 4: Combine a Create Event Action with an Enrichment Using Reevaluation

This scenario illustrates how you can reevaluate an event on which an action has already occurred when multiple actions are required to optimize the resultant alert. The Reevaluate option on the Create Event Policy dialog lets you send an event that has been created or enriched by an event policy back through the policy engine for evaluation by other event policies.

This scenario assumes that you have connectors monitoring vital ComputerSystem CIs, and that the default alerts that are generated are not of the quality required for a prompt diagnosis and resolution. The scenario does the following:

Follow these steps:

  1. Enter the following in the Event Pattern fields in the Event Search tab:
    AlertedMdrElementID=? and Summary='Management agent lost contact'
    
    AlertedMdrElementID=? and Summary='Device response exceeds threshold'
    

    This search criteria returns events from the same connector and CI, where the first event summary is 'Management agent lost contact', and the second event summary is 'Device response exceeds threshold'.

  2. Select ALL events occur within 30 seconds in the Additional Criterion pane.

    This selection specifies that the events must occur within 30 seconds of each other. When occurring together, these events are strong indications that the associated CI is down.

  3. Click Search.

    The search results appear.

  4. Click Create Policy.

    The Create Event Policy wizard opens and displays the New Policy page.

  5. Enter CreateEventDeviceUnresponsive in the Policy Name field, select Create New Event, and click Next.

    The Create New Event page opens.

  6. Select the Reevaluate check box.

    This selection specifies to reevaluate the created event against other event policies.

  7. Edit the properties of the new event as follows and click Next:

    This change increases the severity to fatal and changes the summary and message to a more specific indication of the problem.

    The Select Data Sources page opens.

  8. Select Save and Deploy policy, move the Mid-tier connector to the Selected Data Sources pane, and click Next.

    The Confirm page opens.

  9. Confirm the policy information and click Finish.

    The policy is deployed.

  10. Select the deployed policy in the Events tab, and click Edit Policy.

    The Create Event Policy wizard opens and displays the New Policy page.

  11. Enter FilterOriginalEvents in the Policy Name field, select Filter Events and then Exclude, and click Next.

    The Select Data Sources page opens.

  12. Select Save and Deploy policy, retain the Mid-tier connector in the Selected Data Sources pane, and click Finish.

    The filter event policy is deployed. This policy discards the original event pattern, so that only the created event becomes an alert in the Operations Console.

  13. Return to the main Event Policy dialog, and enter the following search pattern in the Event Pattern 1 field:
    Summary='DEVICE UNRESPONSIVE'
    

    This search pattern returns the event created by the create event policy, on which you enabled reevaluation.

  14. Click Create Policy.

    The Create Event Policy wizard opens and displays the New Policy page.

  15. Enter EnrichEventDeviceUnresponsive in the Policy Name field, select Enrich Event, and click Next.

    The Enrichment Configuration page opens.

  16. Select JDBC in the Type drop-down list, enter connection settings for the database in the fields, and click Next. This example assumes the following:

    The Enrichment Policy page opens.

  17. Do the following in the Parameter Configuration table:

    This configuration queries the ContactTable table from the Contacts database for instances where the AlertedMdrElementID property in the created event matches the DeviceName database column value, which matches the created event to its associated CI in the database. If a match is not found, the enrichment does not occur.

  18. Do the following in the Enrichment Property Assignment table and click Next:

    This configuration enriches the User Attribute 1 and 2 properties of the created event with the values of the ContactEmail and ContactName database columns when the event's device name is matched in the database.

    Note: You can change the name of the User Attribute properties if you want them to accurately represent the enrichment properties. However, these properties appear under their original names in the Event Policy dialog, even if you renamed them. Assigning values to these original names properly displays the values under the renamed properties in the Operations Console.

    The Select Data Sources page opens.

  19. Select Save and Deploy policy, move the Mid-tier connector to the Selected Data Sources pane, and click Next.

    Note: You must use the Mid-tier connector for this scenario, because CA Catalyst connectors do not support database enrichments.

    The Confirm page opens.

  20. Confirm the policy information and click Finish.

    The enrichment policy is deployed. This policy enriches the event created by the create event policy with contact information for the CI from a Contact database. When the event displays as an alert in the Operations Console, it contains an elevated severity, a more accurate description of the CI condition, and contact information in the User Attribute 1 and 2 properties for prompt assignment and resolution.

    You could use alert management functionality to further facilitate resolution of this high quality alert as follows: