This scenario illustrates how you can normalize events from raw event sources to the USM alert format. The SNMP connector collects traps from all trap sources that send their traps to the configured trap destination. However, because traps from different sources have different formats, detailed policy does not exist to convert those traps to the USM alert format.
The trap source normalized in this scenario is CA Systems Performance for Infrastructure Managers (powered by the CA SystemEDGE agent). The CA SystemEDGE agent monitors objects and processes and sends traps when configured thresholds are breached. This scenario normalizes the aggregate state traps that are sent when a monitor entry configured for stateful monitoring detects a threshold breach. You can manage the state of important resources and processes in the Operations Console. The examples and subsequent alert queue creation focus on process monitoring traps.
Note: This procedure normalizes aggregate state traps, which are sent when a monitor entry is configured for stateful monitoring. Monitor and process monitor traps are sent when monitors are not configured for stateful monitoring. These traps are not covered in this scenario. For more information, see the CA SystemEDGE documentation.
Follow these steps:
snmp_enterprise='1.3.6.1.4.1.546.1.1' and snmp_specificTrap='20'
Aggregate state threshold breach traps from the CA SystemEDGE agent appear in the results table.
The New Policy page opens.
The Normalize Event page opens.
Maps the MdrElementID property to the monitor entry's object class, object instance, and object attribute.
Example: Process://./OUTLOOK:Memory(KB)
Maps these properties to the current time. Find this value by right-clicking the cell and selecting Functions, fx:xsdateTime-now.
Maps the AlertType property to a static value of Risk.
Maps the Severity property to the Current State varbind value. Right-click the cell, select Map, and map the values for varbind-1.3.6.1.4.1.546.17.1.1.6.5 to valid USM Severity values as follows using the Map function:
Value column: USM Value column
Note: The Preview cell does not support map values derived through regular expressions. If the map value uses a regular expression, the Preview cell displays a message 'Mapping not found by preview'. However, the mapping itself occurs as expected in actual event policy.
Maps the Summary property to the following statement: 'objectinstance objectattribute threshold breach'.
Example: //./OUTLOOK Memory(KB) threshold breach
Maps the Message property to the following statement: 'objectinstance objectattribute currentvalue on agentserver'.
Example: //./OUTLOOK Memory(KB) 150380 on server1.ca.com
Maps the RepeatCount property to the number of traps that have been generated on this object.
Maps the User Attribute 1 property to the object attribute value.
Example: Memory(KB)
Note: Instead of prefixing the value with 'Threshold', you can rename the User Attribute 1 value to Threshold.
Maps the User Attribute 2 property to the monitor threshold. Map the 1.3.6.1.4.1.546.17.1.1.18.5 varbind from integers to operators as follows:
Maps the User Attribute 3 property to the monitor threshold value.
Example: 50000
Maps the User Attribute 4 property to the object class.
Example: Process
Assigns 'SystemEDGE trap' as the value for User Attribute 5.
Use the Service right-click menu to assign the AlertedMdr properties to a managed service so that the normalized event appears on that service CI.
The Select Data Sources page opens.
The Confirm page opens.
The policy deploys. Any time a CA SystemEDGE monitor entry generates an aggregate state threshold breach trap, Event Management normalizes it according to the deployed policy.
userAttribute2='SystemEDGE trap'
This search pattern returns all normalized CA SystemEDGE traps.
Maps the User Attribute 1-3 values in the normalized trap into a single value. The mapping provides a consolidated trap threshold statement, which includes the operator values that you mapped in the normalization action.
Example: Memory(KB) > 50000
Note: Instead of prefixing the value with 'Threshold', you can rename the User Attribute 1 value to Threshold.
This policy takes the information in the normalized event and creates an event with a complete threshold statement in the User Attribute 1 value. The separate policy is required because normalization does not support embedded map functions in an Assigned Value cell. Therefore you cannot combine the threshold statement. The create event policy also filters out the original events to avoid duplicate alerts.
This policy discards the original event so that only the created event with the correct threshold mapping appears in the Operations Console.
The New Alert Queue dialog opens.
The queue criteria adds alerts with a User Attribute 4 property value of Process.
Note: You can assign escalation policies and user group access to the queue.
The alert queue is created. The alerts for CA SystemEDGE traps with a User Attribute 4 value of Process appear in this queue. You can manage process monitoring traps together.
|
Copyright © 2013 CA.
All rights reserved.
|
|