NEWPCAUSE value not populated in Spectrum AlarmNotifier output

book

Article ID: 223701

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

Customer has added the following to the Spectrum AlarmNotifier SetScript to populate the NEWPCAUSE variable with the Alarm Title from the Probable Cause:

NEWPCAUSE=`echo "$PCAUSE" | /bin/head -1`

Then displays the value in the NOTIFIER.OUT file with the following:

echo "NewPCause:       " $NEWPCAUSE

For most alarms this is populated as expected.

However, for alarms created using the Command Line Interface (CLI) "create alarms" command, the NEWPCAUSE variable is not populated.

Cause

This issue is currently being investigated by the Spectrum team as to the root cause and the resolution.

Environment

Release : 20.2

Component : Spectrum Applications

Resolution

As a workaround, use the CLI "create event" command instead of the "create alarm" command. Reference the "create event" section of the documentation for more information on using the CLI "create event" command.