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

Document ID : KB000029756
Last Modified Date : 25/04/2019
Show Technical Document Details
Question:

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

Answer:

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.