commit | 749af2ef10f66c414322c76609c91b08bb817b5e | [log] [tgz] |
---|---|---|
author | Tomáš Pecka <Tomas.Pecka@cesnet.cz> | Thu Jan 14 09:52:09 2021 +0100 |
committer | Tomáš Pecka <Tomas.Pecka@cesnet.cz> | Thu Jan 14 16:30:25 2021 +0100 |
tree | b72ad4a5dbcbd4a7e404e0e067bebfaa2219b15f | |
parent | 9971dcf797648cff2acdb056ec628ca15702284e [diff] |
tests: Use separate connection for sysrepo queries As Jan pointed out, the tests should use separate sysrepo connection and session than the code being tested, because it matches the reality. This commit adds a helper macro that initializes sysrepo "client" connection and session and fixes the already present sysrepo tests. Change-Id: I27432722cc25127ba37b5277e3f340278bdda5ce
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.