Property update manager
Property timestamp watchdog: checks whether properties keep updating and raises an alarm in Deadman fashion after a timeout.
Overview
quatm/analysis/props_check.py provides the property update manager (PropsCheck): a watchdog that runs as a standalone analysis process and periodically reads the timestamp property specified by the property path _prop_path_abs; if it has not been updated for longer than _deadman_delay_sec, an alarm is raised through send_error (Mattermost can be configured).
Key methods
| Method | Description |
|---|---|
run | Periodically checks whether the timestamp property is fresh and raises an alarm in Deadman fashion on timeout |
Usage
from quatm.analysis.props_check import PropsCheck
pc = PropsCheck(name="props_watchdog") # property namespace
pc.run()
On the GUI side there is also a property checker (PropertiesChecker) for the same purpose, which verifies that the property center is really distributing updates (it sets a flag and reads it back; if the update has not propagated, it shows a dialog and raises an alarm), see Property checker.