How can I get the alarm title as seen in Spectrum OneClick to display in AlarmNotifier?

book

Article ID: 51836

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

How can I get the alarm title as seen in Spectrum OneClick to display in AlarmNotifier?

Cause

Some alarms, such as "LIVE HEALTH: TIME OVER THRESHOLD," use 'dynamic alarm titles.' These titles are not pulled from the probable cause file, but rather from an alarm attribute.

By default OneClick displays these 'dynamic alarm titles,' whereas AlarmNotifier does not. For example, AlarmNotifier may, by default, display the following alarm title:  "LIVE HEALTH: TIME OVER THRESHOLD," while OneClick may display something similar to: "Partition Utilization over 90%"

Environment

Release: Any
Component:

Resolution

The ID of this attribute is 0x12b4c. To get its value to display in AlarmNotifier you'll have to add it to the .alarmrc just like any other alarm attribute (e.g. add it to the EXTRA_ARGS_AS_ENVVARS list), then you can print it instead of the static title (from the pcause file), if it has any value.

Additional Information

Please reference the "Passing Product Attributes to Script" section of the documentation for more information.