commit | a18702d10bd0f3727d17a6fe751c140ce335a6b2 | [log] [tgz] |
---|---|---|
author | Tomáš Pecka <tomas.pecka@fit.cvut.cz> | Mon Jan 25 18:07:23 2021 +0100 |
committer | Tomáš Pecka <tomas.pecka@fit.cvut.cz> | Wed Jan 27 09:37:50 2021 +0100 |
tree | 79e90b75e804a18fd176dbec122429d518762146 | |
parent | cb7a5f8dc0893e0c8d583a3915640aeee5c36193 [diff] |
tests: Sysrepo event watcher Add a helper class EventWatcher that catches Sysrepo events, including Sysrepo notifications. The next patch will implement notifications in czechlight-system model implementation and this code will be used for testing that the notifications are invoked. The EventWatcher class is reused from cla-sysrepo. The current implementation is copied from commit 1fb9138c10aee6c6f67d30522c14696d3d01b8be. Change-Id: I3ee0a14a9d1198f2669cb1dd97594c4d864d5a43
This software tracks health of an embedded device which runs Linux with systemd.
Velia tracks health of systemd units. In case some of them are failing, the system is considered unhealthy. You can disable monitoring of some units by using --systemd-ignore-unit
CLI flags. For example, to disable monitoring unit sshd.service
you should start velia with --systemd-ignore-unit=sshd.service
. In order to disable multiple units use the flag multiple times.
By default, the health of state is shown by flashing certain LEDs. This is however customizable by using your own callbacks.