commit | 272abaf2f93d1bc7a897d42c45e736b4f2ea53bc | [log] [tgz] |
---|---|---|
author | Tomáš Pecka <tomas.pecka@fit.cvut.cz> | Sun Jan 24 12:28:43 2021 +0100 |
committer | Tomáš Pecka <tomas.pecka@fit.cvut.cz> | Mon Jan 25 16:18:42 2021 +0100 |
tree | b9ceb863fc39093aa59c1b71a431da15bf09e289 | |
parent | ba2dc310b6bdf34b9bfbe92b949e322832a37197 [diff] |
utils: push values to sysrepo Add a helper for setting Sysrepo values into a specified datastore. The values are passed as a std::map (mapping XPath to a value) which might simplify our life in future data manipulation. There are two instances of the helper. The first one just pushes the data into the current datastore of the session. The second one wraps around the first one and it changes the session's datastore to the specified one and restores the previous datastore after the changes are applied. Change-Id: Ic0c374737047ef5944dbc4d8af34a6e364946c05
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.