-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathalarm_preferences.properties
145 lines (115 loc) · 4.8 KB
/
alarm_preferences.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# --------------------------------------
# Package org.phoebus.applications.alarm
# --------------------------------------
# Kafka Server host:port
server=localhost:9092
# A file to configure the properties of kafka clients
kafka_properties=
# Name of alarm tree root.
# Configures the alarm configuration used by the alarm server.
# For the UI, it sets the default alarm configuration.
config_name=Accelerator
# Names of selectable alarm configurations for UI.
# The `config_name` will be used as the default for newly opened tools,
# and if `config_names` is empty, it remains the only option.
# When one or more comma-separated configurations are listed,
# the UI shows the selected name and allows switching
# between them.
config_names=Accelerator, Demo
# Timeout in seconds for initial PV connection
connection_timeout=30
# Timeout in seconds for "sevrpv:" updates
severity_pv_timeout=5
## Area Panel
# Item level for alarm area view:
# 1 - Root element
# 2 - Top-level "area" elements just below root
# 3 - Show all the items at level 3
alarm_area_level=2
# Number of columns in the alarm area view
alarm_area_column_count=3
# Gap between alarm area panel items
alarm_area_gap=5
# Font size for the alarm area view
alarm_area_font_size=15
# Limit for the number of context menu items.
# Separately applied to the number of 'guidance',
# 'display' and 'command' menu entries.
alarm_menu_max_items=10
# Initial Alarm Tree UI update delay [ms]
#
# The initial flurry of alarm tree updates can be slow
# to render. By allowing the alarm client to accumulate
# alarm tree information for a little time and then
# performing an initial bulk representation, the overall
# alarm tree startup can be faster, especially when
# the UI is viewed via a remote desktop
#
# Set to 0 for original implementation where
# all alarm tree items are added to the model
# as they are received in initial flurry of updates.
alarm_tree_startup_ms=2000
# Order of columns in alarm table
# Allows re-ordering as well as omitting columns
alarm_table_columns=Icon, PV, Description, Alarm Severity, Alarm Status, Alarm Time, Alarm Value, PV Severity, PV Status
# By default, the alarm table uses the common alarm severity colors
# for both the text color and the background of cells in the "Severity" column.
#
# Older implementations always used the background to indicate alarm severity,
# and this options emulates that by using the alarm severity text(!) color
# for the background, automatically using black or white for the text
# based on brightness.
alarm_table_color_legacy_background=true
# Alarm table row limit
# If there are more rows, they're suppressed
alarm_table_max_rows=2500
# Directory used for executing commands
# May use Java system properties like this: $(prop_name)
command_directory=$(user.home)
# The threshold of messages that must accumulate before the annunciator begins to simply state: "There are X Alarm messages."
annunciator_threshold=3
# The number of messages the annunciator will retain before popping messages off the front of the message queue.
annunciator_retention_count=100
# Timeout in seconds at which server sends idle state updates
# for the 'root' element if there's no real traffic.
# Client will wait 3 times this long and then declare a timeout.
idle_timeout=10
# Name of the sender, the 'from' field of automated email actions
automated_email_sender=Alarm Notifier <alarm_server@example.org>
# Comma-separated list of automated actions on which to follow up
# Options include mailto:, cmd:
automated_action_followup=mailto:, cmd:
# Optional heartbeat PV
# When defined, alarm server will set it to 1 every heartbeat_secs
#heartbeat_pv=Demo:AlarmServerHeartbeat
heartbeat_pv=
# Heartbeat PV period in seconds
heartbeat_secs=10
# Period for repeated annunciation
#
# If there are active alarms, i.e. alarms that have not been acknowleded,
# a message "There are 47 active alarms" will be issued
#
# Format is HH:MM:SS, for example 00:15:00 to nag every 15 minutes.
# Set to 0 to disable
nag_period=00:15:00
# Connection validation period in seconds
#
# Server will check the Kafka connection at this period.
# After re-establishing the connection, it will
# re-send the state of every alarm tree item.
# Set to 0 to disable.
connection_check_secs=5
# To turn on disable notifications feature, set the value to true
disable_notify_visible=false
# Options for the "Disable until.." shortcuts in the PV config dialog
#
# Comma separated, each option needs to comply with TimeParser.parseTemporalAmount():
# 30 seconds, 5 minutes, 1 hour, 6 hours, 1 day, 30 days, ...
shelving_options=1 hour, 6 hours, 12 hours, 1 day, 7 days, 30 days
# Macros for UI display, command or web links
#
# Format: M1=Value1, M2=Value2
macros=TOP=/home/controls/displays,WEBROOT=http://localhost/controls/displays
# Max time in ms a producer call will block.
max_block_ms=10000