Real time alert template. Treat an event as new event when it is seen the first time. List of agency IDs to consider picks and origins. The agency ID is extracted from the pick or the preferred origin of the event and compared with the configured IDs. unset (=): use agencyID defined in global, default empty list (=""): all agencies are allowed The default message string for the event-script is "earthquake, [HOURS] hours [MINS] minutes ago, [DESC], magnitude [MAG], depth [DEP] kilometers" whereas [DESC] is the string given in the event.description attribute. This string can be overwritten using one of the following options. There are three placeholders that can be used: @region@, @dist@ and @poi@. Example: "@region@, @dist@ kilometers from @poi@ away". When using the nearest point of interest (city) as part of the message string, specify the maximum distance in degrees from the event. Any point of interest farther away will be ignored. Minimum population for a city to become a point of interest. The script to be called when a pick arrives. Network-, station code, pick publicID are passed as parameters $1, $2, $3. The script to be called when an amplitude arrives. Network-, station code, amplitude and amplitude public ID are passed as parameters $1, $2, $3, $4. The script to be called when a preliminary origin arrives. Latitude and longitude are passed as parameters $1 and $2. The script to be called when an event has been declared. The message string, a flag (1=new event, 0=update event), the EventID, the arrival count and the magnitude (optional when set) are passed as parameters $1, $2, $3, $4 and $5. Constraints for executing scripts Start the pick script only when the phaseHint of the received pick has one of the value(s). Start the pick script only when the stream (NET.STA.LOC.CHA) of the received pick belongs to the list of stream IDs. If empty, all picks are accepted, otherwise only the ones whose stream ID matches one of the entry of this comma separated list. Each entry must follow the NET.STA.LOC.CHA format, but the special characters ? * | ( ) are also accepeted. E.g. "CH.*,GR.STA??.*,*.*.*.HH?,*.*.*.??(Z|1)" Start the pick script only when a minimum number of phases 'phaseNumber' is received within 'phaseInterval'. Start the pick script only when a minimum number of phases 'phaseNumber' is received within 'phaseInterval'. scalert [options] generic#help generic#version generic#config-file generic#plugins generic#daemon generic#auto-shutdown generic#shutdown-master-module generic#shutdown-master-username verbosity#verbosity verbosity#v verbosity#quiet verbosity#component verbosity#syslog verbosity#lockfile verbosity#console verbosity#debug verbosity#log-file messaging#user messaging#host messaging#timeout messaging#primary-group messaging#subscribe-group messaging#content-type messaging#start-stop-msg database#db-driver-list database#database database#config-module database#inventory-db database#db-disable