Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.4 KB

README.md

File metadata and controls

65 lines (45 loc) · 1.4 KB

led_matrix_monitoring

This service collects metrics and renders them on Framework 16" LED matrix using LED Matrix Daemon. All in all, it just renders a PNG image with the metrics and sends it to the daemon responsible for rendering it on LED matrix.

Features

Metric collectors:

  • CPU usage
  • Memory % usage
  • Disk IO usage
  • Network usage
  • CPU Temperature
  • Battery Level

Widgets:

  • Network/disk plot
  • Temperature bar
  • Battery level bar
  • CPU usage bar per core + average
  • Memory usage bar

Installation

Arch Linux

yay -S led_matrix_monitoring

Enable daemon with default configuration:

sudo systemctl enable --now led_matrix_monitoring.service

Build

Install Rust:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Check out the repository and build the binary:

git clone https://github.com/night-crawler/led_matrix_monitoring.git
cd led_matrix_monitoring
cargo build --release

Copy the binary to a location in your path:

sudo cp ./target/release/led_matrix_monitoring /usr/local/bin

Configuration

Take a look at example_config.toml.

In the collector section, everything that takes a list of values will produce an average of those values. You might want to change widget position here and there.