Spectrum AlarmNotifier UpdateScript not run when the Trouble Ticket has been updated
search cancel

Spectrum AlarmNotifier UpdateScript not run when the Trouble Ticket has been updated

book

Article ID: 263276

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

We added the Trouble Ticket attribute id 0x12022 in the EXTRA_ATTRS_AS_ENVVARS parameter in the $SPECROOT/Notifier/.alarmrc file as follows:

EXTRA_ATTRS_AS_ENVVARS=0x12b4c,0x12c0a,0x11f57,0x12022 

However, when the Trouble Ticket attribute id 0x12022 is updated, the AlarmNotifier UpdateScript does not run.

Environment

Version: Any
Component: Applications/AlarmNotifier

Cause

The is functioning as designed. Only specific attribute updates out of the box will cause the AlarmNotifer UpdateScript to run.

Resolution

The Trouble Ticket attribute id 0x12022 can be added to the UPDATE_ATTRS parameter in the .alarmc file which will then cause the UpdateScript to run when the Trouble Ticket attribute id 0x12022 is updated.

UPDATE_ATTRS - This parameter is a comma-separated list of alarm-specific attributes that can trigger an update.

After making any changes to the .alarmrc file, the AlarmNotifier process must be restarted to pick up the change.