commit | 7c6b1d39431c5ed78050ee040c71f0096fb28adb | [log] [tgz] |
---|---|---|
author | Tomáš Pecka <tomas.pecka@fit.cvut.cz> | Wed Nov 25 14:17:21 2020 +0100 |
committer | Tomáš Pecka <tomas.pecka@fit.cvut.cz> | Fri Dec 18 12:29:32 2020 +0100 |
tree | a06453d3bdcc8dcc207386dbc0fb5c43816a169e | |
parent | 9f3035f8535e334bf3724bafab51609af068e8fc [diff] |
logging: Add separate logger for health monitoring Before this patch all logs from the health monitoring part used 'main' logger. This patch creates a new logger ('health') and health monitoring parts of code use this logger. Change-Id: I7bfa1b2197a06d3c9edb29e7ec45ba77c54b11ad
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.