# NaqsMail.properties file
# example mail translation/reformatting file for AlertMailer
# last changed 2001/05/02

# Use this file to reformat alert messages being forwarded by AlertMailer
# by specifying subject and text lines for each message type.
# Use the # symbol for comments.
# Remove the # symbol from a *.text line to enable that line
# For example
# msgid.subject = subject line for msgid
# msgid.text = Full format string for msgid \
               which may be continued over several lines

# ===============================================================
# The following messages are generated by the AlertMailer program
# ===============================================================

# AlertSystemUp - indicates that the AlertMailer system has started
# %1 = sourceIds of components which are online
# %2 = sourceIds of components which are offline
# AlertSystemUp.text = Nmx Alert system is now running%r\
#                      Components online: %1%r\
#                      Components offline: %2%r

# AlertSystemDown - indicates that the AlertMailer is shutting down
# AlertSystemDown.text = Nmx Alert System is shutting down

# ComponentOffline - indicates that AlertMailer is not receiving
#                     from the specified component
# %1 = sourceId of component which is being reported offline
# %p = number of minutes since last message was received
# ComponentOffline.text = No message received from %1 for %p minutes

# ComponentOnline - indicates that AlertMailer has started receiving
#                   from a component that was previously offline
# %1 = sourceId of component which just came online
# %p = priority of corresponding ComponentOffline message
# ComponentOnline.text = Started receiving from %1 after outage of more than %p minutes

# MailErr - indicates that AlertMailer was unable to send a mail message
# %1 = classId of message for which send failed
# %2 = error string from system
# MailErr.text = Failure to forward alert type: %1%rError message: %2

# ==================================================
# The following messages are generated by NaqsServer
# ==================================================

# NaqsAlive - indicates that NaqsServer has just started
# %1 = number of instruments which are currently online
# %2 = total number of instruments in NaqsServer configuration
# %3 = list of stations which are currently online
# %4 = list of stations which are currently offline
# NaqsAlive.text = NaqsServer is now running.%r\
#                  Currently receiving from %1 / %2 instruments %r\
#                  The following instruments are online: %3 %r\
#                  The following instruments are offline: %4 %r

# NaqsStatus - issued once per hour, giving current status
# %1 = number of instruments which are currently online
# %2 = total number of instruments in NaqsServer configuration
# %3 = list of stations which are currently online
# %4 = list of stations which are currently offline
# NaqsStatus.text = NaqsServer hourly status report.%r\
#                   Currently receiving from %1 / %2 instruments %r\
#                   The following instruments are online: %3 %r\
#                   The following instruments are offline: %4 %r

# NaqsReport - issued once per day, giving uptime summary status for past 24 hours
# %1 = elapsed time since NaqsServer was last started
# %2 = number of packets received in past 24 hours (or since startup)
# %3 = percentage of packets received which were retransmitted packets
# %4 = number of instruments from which packets were received in past 24 hours
# %5 = total number of instruments in NaqsServer configuration
# %6 = list of stations from which packets were received in the past 24 hours
# %7 = list of stations from which NO packets were received in the past 24 hours
# NaqsReport.text = NaqsServer daily status report.%r\
#                   Uptime:  %1 %r\
#                   Packets received today: %2 (retx %3 %%) %r\
#                   Received data from %4 / %5 instruments. %r\
#                   Received data from the following instruments: %6 %r\
#                   The following instruments remained offline: %7

# RbfOpenFail - issued if one or more ringbuffer cannot be opened properly
# %1 = number of ringbuffers which could not be opened
# %2 = number of ringbuffers which NaqsServer attempted to open
# %p = same as %1
# RbfOpenFail.text = File open failed on %1 / %2 ringbuffers.  See Naqs log.

# RbfWriteFail - issued when there is an error writing to a ringbuffer
# %1 = name of channel for which write failed
# %2 = integer error code from program
# %p = number of consecutive write failures (1, 100, 1000, 10000)
# RbfWriteFail.text = Ringbuffer write failure on %1, rc = %2, count = %p.

# RbfWriteOk - issued when a ringbuffer write succeeds after previously being failed
# %1 = name of channel
# %p = number of consecutive write failures before success
# RbfWriteOk.text = Ringuffer write succeeded on %1 after %p failures.

# InstrumentOffline - issued when Naqs has not received any data for 10 minutes 
#                   from one or more instruments that were previously online
# %1 = list of stations which have just gone offline
# %2 = number of instruments which are currently online
# %3 = total number of instruments in NaqsServer configuration
# %4 = list of stations which are currently online
# %5 = list of stations which are currently offline
# InstrumentOffline.text = NaqsServer has stopped receiving from %1%r\
#                          Currently receiving from %2 / %3 instruments %r\
#                          The following instruments are online: %4 %r\
#                          The following instruments are offline: %5 %r

# InstrumentOnline - issued when Naqs starts receiving from one or more instruments 
#                    that were previously offline
# %1 = list of stations which have just gone offline
# %2 = number of instruments which are currently online
# %3 = total number of instruments in NaqsServer configuration
# %4 = list of stations which are currently online
# %5 = list of stations which are currently offline
# InstrumentOnline.text = NaqsServer has started receiving from %1%r\
#                         Currently receiving from %2 / %3 instruments %r\
#                         The following instruments are online: %4 %r\
#                         The following instruments are offline: %5 %r

# NaqsEvent - issued when the event-detection module detects a seismic event.  
# %1 = time of the earliest trigger in the event (UT)
# %2 = duration of the event in seconds (until last de-trigger)
# %3 = trigger type from Naqs.stn file
# %4 = number of triggers in this event
# %5 = list of stations or channels which triggered for this event
# %p = the average over all triggers of the peak STA/LTA value recorded
# NaqsEvent.text = Naqs detected seismic event \
#                  %r  Start time: %1 \
#                  %r  Duration (seconds): %2 \
#                  %r  Trigger type: %3 \
#                  %r  Number of triggers: %4 \
#                  %r  Peak Sta/Lta: %p \
#                  %r  Stations:  %5 %r

# =======================================================================
# The following messages are generated by each Carina instrument (CARxxx)
# =======================================================================

# VSatShutdown - issued when Carina is shutdown manually
#                (shutdown command, entering TEST mode, etc.)
# %s = sourceId of Carina instrument which be reported
# %1 = list of reasons of shutdown
# VSatShutdown.text = Carina %s transmission shutdown (%1)

# VSatResume - issued when Carina transmission resumes
# %s = sourceId of Carina instrument which be reported
# VSatResume.text = Carina %s transmission resumed

# VSatTxOutage - issued when Carina has NOT transmitted for N minutes, 
#                where N = 2, 5 and 20
# %s = sourceId of Carina instrument which be reported
# %1 = list of reasons of outage
# %p = number of minutes of outage
# VSatTxOutage.text = Carina %s has NOT transmitted for past %p minutes(%1)

# VSatTxOk - issued when Carina transmission resumes
# %s = sourceId of Carina instrument which be reported
# %1 = number of minutes of outage
# %p = same as priority of last VSatTxOutage message
# VSatTxOk.text = Carina %s transmission resumed after %1 minutes

# VSatSelfRxOutage - issued when Carina has NOT received its own transmission
#                    for N minutes, where N = 2, 5 and 20
# %s = sourceId of Carina instrument which be reported
# %p = number of minutes of outage
# VSatSelfRxOutage.text = Carina %s has NOT received its own transmission for\
#                         past %p minutes

# VSatSelfRxOk - issued when Carina self-reception resumes
# %s = sourceId of Carina instrument which be reported
# %p = same as priority of last VSatSelfRxOutage message
# VSatSelfRxOk.text = Carina %s now receiving from itself

# VSatRxOutage - issued when Carina has NOT received from VSat xx for N minutes,
#                where N = 2, 5 and 20
# %1 = sourceId of remote which is supposed to send packets
# %p = number of minutes of outage
# VSatRxOutage.text = No packets received from %1 for %p minutes

# VSatRxOk - issued when Carina self-reception resumes
# %1 = sourceId of remote which is supposed to send packets
# %2 = number of minutes of outage
# %p = same as priority of last VSatRxOutage message
# VSatRxOk.text = Now receiving from %1 after outage of %2 minutes

# ====================================================================
# The following messages are generated by each Cygnus, Janus or Europa
# ====================================================================

# PowerWarn - issued when supply voltage enters RED zone 
#                 (using thresholds from user interface)
# %1 = value of voltage
# %p = 1
# PowerWarn.text = Battery voltage %1 Volts

# PowerOk - issued when supply voltage enters GREEN zone
# %1 = value of voltage
# %p = 0
# PowerOk.text = Battery voltage %1 Volts

# SohWarn - issued when SOH enters RED zone
# %1 = name of SOH channel
# %2 = value of SOH reading
# %p = 1
# SohWarn.text = SOH %1 reading out of range(%2)

# SohOk - issued when SOH enters GREEN zone
# %1 = name of SOH channel
# %2 = value of SOH reading
# %p = 0
# SohOk.text = SOH %1 reading OK(%2)
