Health Monitoring#
Alive Supervision#
The Alive Interface provides a basic watchdog functionality interface that delivers essential monitoring capabilities for system health and responsiveness tracking. It implements core watchdog operations including heartbeat signals to ensure reliable operation and automatic recovery from unresponsive states.
SCORE Application Liveliness Reporting
SCORE applications can periodically signal their liveliness to the Launch Manager through the Alive Interface. This mechanism allows the Launch Manager to:
Detect application failures or hangs
Trigger recovery actions when liveliness is lost
Maintain accurate process health status
The liveliness mechanism includes:
Configurable heartbeat intervals per application
Timeout detection and failure handling
The corresponding configuration parameters are shown as AliveSupervision in Configuration Structure.
The alive interface is defined here: logic_arc_int__lifecycle__alive_if
The Launch Manager starts the Alive Supervision at the exact time when the Application reports its Running state via the Lifecycle Interface. As a consequence the Liveliness Reporting is only available to SCORE applications that also use the Lifecycle Interface.
Dynamic architecture#
Alive Monitoring Start
|
status: valid
security: YES
safety: ASIL_B
|
||||
|
|||||
Alive Monitoring Stop
|
status: valid
security: YES
safety: ASIL_B
|
||||
|
|||||
In-Process Supervision#
The Health Monitor is a library, that together with the Launch Manager provide a way to monitor the application health in similar fashion as the AUTOSAR Platform Health Manager (PHM).
The main features of the Health Monitor are the following monitoring functions:
Checkpoint supervision - Periodic monitoring of checkpoints, which must fit the pre-configured expected number of notifications in the given interval (not too many, not too few) - Protecting from running checks too often or too rarely
Deadline supervision - Timing requirement between two checkpoints.
Logical - Specifies in which order two or more checkpoints must be called
The Health Monitor itself is monitored via the Launch Manager with via alive supervision only.
Error Reactions#
When the Health Monitor detects a failed supervision, it shall stop triggering alive notifications to the Launch Manager.
Additionally, when the error occurs, the Health Monitor triggers a failure notification to the Launch Manager to reduce the time to react on the error. This obviously will only work if the Health Monitor is still working and correctly scheduled. Thus the worst case reaction time calculations must be made on the monitoring rules specified in the Launch Manager for the monitored application.
Deadline Monitor API#
Interface#
The deadline monitor interface is defined here: logic_arc_int__lifecycle__deadline_monitor_if
Dynamic Architecture#
Application health monitoring
|
status: valid
security: YES
safety: ASIL_B
|
||||||||||||||||||||||||||||
The most important interactions are the following:
|
|||||||||||||||||||||||||||||
Logical control flow monitoring
|
status: valid
security: YES
safety: ASIL_B
|
||||
|
|||||