In Spectrum CPU and Memory alerts are generated based on Single instance or Aggregate instance depending on the EventDisp entries.
The alarm title says " High CPU Utilization " or "High Aggregate CPU Utilization". It doesn't reflect the Utilization and threshold values as reported in the event message.
This solution helps you to transfer the values to alarm title from the event message using an Event Procedure.
Release: Any
Component:
Follow the steps outlined in this solution to achieve the above mentioned requirement
0x00010f03 P"\ ---------------> Default High CPU Utilization event
CreateEventWithVariables(\
{C CURRENT_MODEL},\
{H 0xfff0012d},\ ------------------> New event
SetEventVariable(\
GetEventVariableList(),\
{H 0x00012b4c},\ -----------------> Attribute id of Dynamic alarm title attribute
Append(\ {S\"High CPU Utilization : Threshold - Utilization:\"},\ --------> Message to appear in Alarm Title
Append(\
Append(\
Append(\ { S \"\" },\
ToString(GetEventVariable ( { U 0 }))),\ ------------------> Getting the configured CPU threshold from event message.
{S \" ; \" }),\
ToString( GetEventVariable({U 1}))))))" ------------------> Getting the Utilization CPU value from event message.
NOTE: The 0xfff0012d is used in this example. You will need to create and use your own custom event.
NOTE: This Event procedure example can be used in other similar events.