DX NetOps Manager

 View Only

Spec KB: How to set AlarmNotifier to display in the ProbableCause field the text from the alarm title 

Sep 01, 2016 07:19 AM

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

Problem:

 

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

or

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%"

 

Cause:

 

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.

 

Resolution:

 

Add an entry for 0x12b4c in the .alarmrc file in the field EXTRA_ATTRS_AS_ENVVARS:

 

EXTRA_ATTRS_AS_ENVVARS=0x12b4c

 

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.

Statistics
0 Favorited
2 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.