How to set AlarmNotifier to display in the ProbableCause field the text from the alarm title
Document ID: TEC1989927
Last Modified Date: 2/19/2016
In AlarmNotifier the ProbableCause field for is displaying whatever is displayed in the type field of thedetails pane in Event Configuration.
So for example if it says:
LIVE HEALTH: TIME OVER THRESHOLD
LIVE HEALTH: UNUSUAL VALUE
That is what is displayed in the ProbableCause field of the AlarmNotifier output.
However the requirement is to see in the ProbableCause field is whatever is being displayed in the alarm title (same as the description in the event message) for example:
"disk partition utilization has exceeded 99%"
The alarm title in OneClick is pulling information from the event message description field.
If you check the EvFormat file for the event the description is using 76620 and 76620 is 0x12b4c in decimal.
Thats how we do the dynamic alarm title.
Add an entry for 0x12b4c in the .alarmrc file in the field EXTRA_ATTRS_AS_ENVVARS:
Then after this you would need to add an entry in the setscript file- If you use the Out Of Box setscript it would be an entry under:
echo "UserClearable: " $CLEARABLE
echo "ProbC: " $SANM_0x12b4c
After you have added this entry you will need to restart alarmnotifier.