rasdaemon monitors Linux kernel trace events for Reliability, Availability and Serviceability (RAS) errors. It reports decoded events through syslog or journald and can record them in SQLite, MySQL/MariaDB, or PostgreSQL.
The primary source repository and issue tracker is https://github.com/mchehab/rasdaemon/.
rasdaemon requires Meson 0.60 or newer, Ninja, a C compiler, libtraceevent, Python, and libpci. Database backends and unit tests have additional optional dependencies described in the building and installation guide.
Configure and build with:
$ make
Install from the configured build directory with:
$ sudo make install
rasdaemon requires root permission to access Linux Kernel tracing nodes and other error events.
Run it in the foreground with --foreground or -f:
$ sudo rasdaemon -f
To record events on a database (by default SQLite3), add add --record or -r:
$ sudo rasdaemon -f -r
To see a summary of rasdaemon found errors (when --record is used):
$ sudo ras-mc-ctl db --errors
The backend defaults to SQLite. See the database guide for configuring SQLite,
MySQL/MariaDB, or PostgreSQL. Use rasdaemon --help to list the options
compiled into the installed binary.
See https://mchehab.github.io/rasdaemon/