commit | 261c8860399001a4b47b5e1f2345b69b97022ef4 | [log] [tgz] |
---|---|---|
author | Tomáš Pecka <tomas.pecka@fit.cvut.cz> | Thu Nov 05 11:23:08 2020 +0100 |
committer | Tomáš Pecka <tomas.pecka@fit.cvut.cz> | Wed Nov 18 10:18:46 2020 +0100 |
tree | 7fd38f1bccb5d69b740ceb7bf6b13387f8303a2e | |
parent | 24b350544f5515a00c0cfb8f4d82163dc7089ad3 [diff] |
Move current implementation into separate namespace We will be moving ietf-hardware implementation from cla-sysrepo to velia. Veliad daemon will manage not only the "system health" (the current implementation) but it will also (in later commits) implement ietf-hardware (RFC8348) [1] (report HW sensors readout to Sysrepo). This commit prepares the directory structure (i.e., it moves the current code into a namespace velia::health. We will be adding new namespace velia::ietf_hardware throughout the next few commits which will implement the support for ietf-hardware YANG model. [1] https://tools.ietf.org/html/rfc8348#appendix-A Change-Id: I315c2575c5d50036d27cb0a11f5571ce9d615fe5
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.