Darwin:Alarm Element: Difference between revisions

From Open Rail Data Wiki
Q (talk | contribs)
m Added category & table footer
Q (talk | contribs)
m Remove incorrect Navtable-DataFeeds
Line 42: Line 42:




{{Navtable-DataFeeds}}


[[Category:National Rail Enquiries Data Feeds]]
[[Category:National Rail Enquiries Data Feeds]]

Revision as of 20:51, 11 July 2015

Alarm message

Overview

An Alarm message indicates that a feed in to Darwin has stopped, or has re-started.

Detail

The alarms sent are as follows:

Alarm Meaning
tdAreaFail Darwin has detected that no data has been received from a single TD for a period of time
tdFeedFail Darwin has detected that no data has been received from any TD for a period of time
tyrellFeedFail Darwin has detected that its connection to Tyrell has failed

Each alarm has a unique identifier, and may be cleared with an alarm being received with a 'clear' element and the same unique identifier.

Example messages

<alarm>
  <al:set id="20669">
    <al:tdFeedFail />
  </al:set>
</alarm>

<alarm>
  <al:clear>
    20669
  </al:clear>
</alarm>