How to reference the Global Alarm ID in the AlarmNotifier Scripts
search cancel

How to reference the Global Alarm ID in the AlarmNotifier Scripts

book

Article ID: 190127

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction


When using the AlarmNotifier to take actions on alarms it might be necessary or desirable to reference the Global Alarm ID
   of the Spectrum alarm. This can be useful when integrating with third-party utilities so that they can reference the alarm
   on a return call to OneClick.


example of a Global Alarm ID:
Global AlarmID:   5e94a7c2-1491-1003-038c-fa163e069193

Environment

Release : 10.x

Component : Spectrum Core / SpectroSERVER

Resolution

The Global Alarm ID can be used with the AlarmNotifier by making the following configuration changes

$SPECROOT/Notifier/.alarmrc
ENABLE_CORRELATION=true (set to true)
USE_NEW_INTERFACE=true (set to/keep true)

ex.


$SPECROOT/Notifier/SetScript
The Global Alarm ID can now be used by referencing: $GLOBAL_ALARM_ID

Example as seen in default NOTIFIER.OUT


Attachments