CHAPTER 4 Command Reference
User’s Guide
53
•
When an alarm condition occurs and alarm_action is
log
, Historical
Server writes three lines to the log file. The first line contains:
•
Timestamp of the sample that triggered the alarm
•
Name of the data item on which the alarm was set
•
Statistic type of that data item
•
Value of the data item that triggered the alarm
•
Threshold value of the alarm
•
The second line in the log file contains:
•
Session ID
•
View name
•
Alarm ID
•
The third line in the log file contains:
•
Name of the Adaptive Server being monitored
•
Names and values of all key data items in the view for the row of
sample data that triggered the alarm
•
When an alarm condition occurs and alarm_action is
execute
,
Historical Server runs the script or program specified in the
alarm_action_data parameter. Historical Server invokes the program
or file using the arguments specified in alarm_action_data, followed
by additional positional arguments that can be accessed within the
program. The positional arguments appended to the call by Historical
Server represent the following information:
•
Session ID
•
Alarm ID
•
Sample timestamp
•
Data item on which the alarm was set
•
Statistic type of that data item
•
Value of the data item that triggered the alarm
•
Threshold value of the alarm
•
Name of the Adaptive Server being monitored
•
Number of key data items in the view
Summary of Contents for 12.5.1
Page 1: ...User s Guide Historical Server 12 5 1...
Page 14: ...xiv Historical Server...
Page 46: ...Configuring multiple instances of Historical Server 32 Historical Server...
Page 56: ...Starting and stopping Historical Server on Windows NT 42 Historical Server...
Page 102: ...hs_terminate_recording 88 Historical Server...