forked from mozilla-services/socorro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
monitor.ini-dist
198 lines (156 loc) · 6.15 KB
/
monitor.ini-dist
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
# name: application
# doc: the fully qualified module or class of the application
# converter: configman.converters.class_converter
# application='MonitorApp'
[job_manager]
# name: database_class
# doc: the class of the job_manager's database
# converter: configman.converters.class_converter
database_class='socorro.external.postgresql.connection_context.ConnectionContext'
# name: database_host
# doc: the hostname of the database
# converter: str
database_host='localhost'
# name: database_name
# doc: the name of the database
# converter: str
database_name='breakpad'
# name: database_password
# doc: the user's database password
# converter: str
database_password='aPassword'
# name: database_port
# doc: the port for the database
# converter: int
database_port='5432'
# name: database_user
# doc: the name of the user within the database
# converter: str
database_user='breakpad_rw'
# name: job_cleanup_frequency
# doc: the frequency to check for new jobs (hh:mm:ss)
# converter: timedelta_to_seconds_coverter
job_cleanup_frequency='300'
# name: priority_loop_frequency
# doc: the frequency to check for new priority jobs (hh:mm:ss)
# converter: timedelta_to_seconds_coverter
priority_loop_frequency='10'
# name: standard_loop_frequency
# doc: the frequency to check for new jobs (hh:mm:ss)
# converter: timedelta_to_seconds_coverter
standard_loop_frequency='10'
# name: transaction_executor_class
# doc: a class that will manage the job_manager's transactions
# converter: configman.converters.class_converter
transaction_executor_class='socorro.database.transaction_executor.TransactionExecutor'
[logging]
# name: stderr_error_logging_level
# doc: logging level for the logging to stderr (10 - DEBUG, 20 - INFO, 30 - WARNING, 40 - ERROR, 50 - CRITICAL)
# converter: int
stderr_error_logging_level='10'
# name: stderr_line_format_string
# doc: python logging system format for logging to stderr
# converter: str
stderr_line_format_string='{asctime} {levelname} - {threadName} - {message}'
# name: syslog_error_logging_level
# doc: logging level for the log file (10 - DEBUG, 20 - INFO, 30 - WARNING, 40 - ERROR, 50 - CRITICAL)
# converter: int
syslog_error_logging_level='40'
# name: syslog_facility_string
# doc: syslog facility string ("user", "local0", etc)
# converter: str
syslog_facility_string='user'
# name: syslog_host
# doc: syslog hostname
# converter: str
syslog_host='localhost'
# name: syslog_line_format_string
# doc: python logging system format for syslog entries
# converter: str
syslog_line_format_string='monitor (pid {process}): {asctime} {levelname} - {threadName} - {message}'
# name: syslog_port
# doc: syslog port
# converter: int
syslog_port='514'
[new_crash_source]
# name: crashstorage_class
# doc: the class of the crashstorage system
# converter: configman.converters.class_converter
crashstorage_class='socorro.external.filesystem.crashstorage.FileSystemRawCrashStorage'
# name: dir_permissions
# doc: a number used for permissions for directories in the local file system
# converter: int
dir_permissions='504'
# name: dump_dir_count
# doc: the number of dumps to be stored in a single directory in the local file system
# converter: int
dump_dir_count='1024'
# name: dump_file_suffix
# doc: the suffix used to identify a dump file
# converter: str
dump_file_suffix='.dump'
# name: dump_gid
# doc: the group ID for saved crashes in local file system (optional)
# converter: str
dump_gid=''
# name: dump_permissions
# doc: a number used for permissions crash dump files in the local file system
# converter: int
dump_permissions='432'
# name: json_file_suffix
# doc: the suffix used to identify a json file
# converter: str
json_file_suffix='.json'
# name: new_crash_source_class
# doc: an iterable that will stream crash_ids needing processing
# converter: configman.converters.class_converter
new_crash_source_class='socorro.monitor.crashstore_new_crash_source.CrashStorageNewCrashSource'
# name: std_fs_root
# doc: a path to a local file system
# converter: str
std_fs_root='./primaryCrashStore'
[registrar]
# name: check_in_frequency
# doc: how often the processor is required to reregister (hh:mm:ss)
# converter: configman.converters.timedelta_converter
check_in_frequency='0:0:1:0'
# name: database_class
# doc: the class of the registrar's database
# converter: configman.converters.class_converter
database_class='socorro.external.postgresql.connection_context.ConnectionContext'
# name: database_host
# doc: the hostname of the database
# converter: str
database_host='localhost'
# name: database_name
# doc: the name of the database
# converter: str
database_name='breakpad'
# name: database_password
# doc: the user's database password
# converter: str
database_password='aPassword'
# name: database_port
# doc: the port for the database
# converter: int
database_port='5432'
# name: database_user
# doc: the name of the user within the database
# converter: str
database_user='breakpad_rw'
# name: processor_grace_period
# doc: a processor is dead if it is this late to renew registration
# converter: configman.converters.timedelta_converter
processor_grace_period='0:0:2:0'
# name: quit_if_no_processors
# doc: die if there are no live processors running
# converter: configman.converters.boolean_converter
quit_if_no_processors='False'
# name: sweep_frequency
# doc: frequency for cleaning up dead processors
# converter: timedelta_to_seconds_coverter
sweep_frequency='120'
# name: transaction_executor_class
# doc: a class that will manage the registrar's transactions
# converter: configman.converters.class_converter
transaction_executor_class='socorro.database.transaction_executor.TransactionExecutor'