Darwin:Alarm Element: Difference between revisions

From Open Rail Data Wiki
Q (talk | contribs)
m Added category & table footer
EvelynSnow (talk | contribs)
Add example for TD area alarm
 
(2 intermediate revisions by 2 users not shown)
Line 41: Line 41:
</pre>
</pre>


<pre><alarm>
  <ns11:set id="379654">
    <ns11:tdAreaFail>E1</ns11:tdAreaFail>
  </ns11:set>
</alarm>


{{Navtable-DataFeeds}}
<alarm>
  <ns11:clear>379654</ns11:clear>
</alarm></pre>


{{Navtable-NreDataFeeds}}
[[Category:National Rail Enquiries Data Feeds]]
[[Category:National Rail Enquiries Data Feeds]]

Latest revision as of 09:08, 17 January 2023

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>
<alarm>
  <ns11:set id="379654">
    <ns11:tdAreaFail>E1</ns11:tdAreaFail>
  </ns11:set>
</alarm>

<alarm>
  <ns11:clear>379654</ns11:clear>
</alarm>


National Rail Enquiries Data Feeds
Data Feeds About the Feeds Darwin Webservice (Public) Darwin Webservice (Staff) Historical Service Performance Push Port KnowledgeBaseDTDLocations (PoC)Real Time Journey Planner
LDB API About
LDB-SV API About
HSP About
DTD About Fares Timetable
Push Port About XML Schemas Schedules Associations Train Status Station Messages Alarms Train Order Train Alerts Formations Formation loading