[installation] Init with inital config for global

This commit is contained in:
2025-10-30 15:08:17 +01:00
commit 7640b452ed
3678 changed files with 2200095 additions and 0 deletions

79
etc/scqc.cfg Normal file
View File

@ -0,0 +1,79 @@
# Defines a list of modules loaded at startup.
plugins = ${plugins},qcplugin_delay,qcplugin_latency,qcplugin_timing,qcplugin_rms,qcplugin_offset,qcplugin_gap,qcplugin_overlap,qcplugin_availability,qcplugin_spike,qcplugin_outage
# Defines the primary group of a module. This is the name of the group where a
# module sends its messages to if the target group is not explicitely given in
# the send call.
connection.primaryGroup = QC
# Defines a list of message groups to subscribe to. The default is usually
# given by the application and does not need to be changed.
connection.subscriptions = CONFIG
# ID of QC message creator
CreatorId = "smi://de.gfz-potsdam/QcTool_0.3.1"
# Limit QC determination to processed data streams.
useConfiguredStreams = True
# If useConfiguredStreams == False then load (from inventory) only those
# streams, matching the streamMask
# RegEx e.g. "^(NET1|NET2)\.(STA1|STA2|STA3)\.(LOC)\.((BH)|(LH)|(HH))Z$"
# RegEx e.g. "^(.+)\.(.+)\.(.*)\.(.+)Z$"
# streamMask = "^(.+)\.(.+)\.(.*)\.(BHZ)$"
streamMask = "^(.+)\.(.+)\.(.*)\.((BH)|(SH)|(HH)Z)$"
# Database look up for past entries not older than x days (to determine the
# last QC parameter calculated).
dbLookBack = 7
#
plugins.QcAvailability.report.timeout = 60
plugins.QcDelay.realTimeOnly = True
#
plugins.QcDelay.report.buffer = 60
plugins.QcDelay.report.timeout = 60
plugins.QcLatency.realTimeOnly = True
# QcPlugin SPECIFIC configuration
plugins.QcLatency.report.buffer = 60
plugins.QcLatency.report.timeout = 60
#
#
# If there is a gap of more than x [s],
# write an OUTAGE entry into the database.
plugins.QcOutage.notifyDB = 1800
# Alert Buffer length [s] (aka STA-Buffer)
plugins.default.alert.buffer = 1800
#
# A L E R T
# (only available in realtime processing mode)
# !!! STILL EXPERIMENTAL !!!
# Interval for checking alert thresholds [s]
# A value of -1 disables threshold checking.
plugins.default.alert.interval = -1
# Alert threshold in percent [%], single value. [list: 25,50,75 ... not yet implemented]
plugins.default.alert.thresholds = 150
# Archive Buffer length [s]
plugins.default.archive.buffer = 7200
#
# A R C H I V E
# Interval for sending archive messages [s]
# ... which will finally end up in the database
# so be carefull, not setting it too small!!!
# If set to -1, nothing gets written into the database
plugins.default.archive.interval = -1
#
# Qc-Buffer Length [s] (aka LTA-Buffer)
# Must be >= plugins.*.bufferLength
plugins.default.buffer = 4000
# QcPlugin DEFAULT configuration
#
# Use this plugin only for realtime processing [True].
# Default [False] means, plugin is able to
# process archived data AND realtime data streams.
plugins.default.realTimeOnly = False
# Report Buffer length [s]
plugins.default.report.buffer = 1800
plugins.QcRms.report.timeout = 60
#
# R E P O R T
# Interval for sending report messages [s]
# ... which e.g. may be displayed by scqcv (QcView)
plugins.default.report.interval = 60
# Report messages are generated in case of no data is received since timeout seconds [s]
# (only in realtime processing mode)
plugins.default.report.timeout = 0