How to enable Date and Time Stamp with the time zone in CA Spectrum AlarmNotifier.
search cancel

How to enable Date and Time Stamp with the time zone in CA Spectrum AlarmNotifier.

book

Article ID: 29756

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

What is the correct way to add Date and Time Stamp to use with AlarmNotifier?

Environment

Any Spectrum supported version

Resolution

Use the $RAW_ALARM_TIME variable in the out of the box SetScript, ClearScript and UpdateScript files which takes the Unix Time stamp (seconds since Jan 1, 1970 ).
 
To use the $RAW_ALARM_TIME variable:

1. Edit the script

2. Look for the following:
 
# If you wish to see the UNIX alarm time printed out you need to set
# USE_NEW_INTERFACE to true in the configuration file and uncomment
# the following line.
#echo "Raw Alarm Time: " $RAW_ALARM_TIME

 
3. Remove the "#" character in the above highlighted line.

4. Save the file

Additional Information

Please reference the "Script Parameter Definitions" section of the documentation for more information.