Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 816 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 816 Bytes

Sonar

Lightweight monitoring tool for monitoring system health of the super fish NAS. When an alert fires, a Discord message will be sent, notifying the admin when Severity == Critical.

Roadmap

  • Configuration file (monitors.toml)
  • Nix Package/NixOS module
  • CPU
    • Temperature
    • Usage
  • Disk
    • Usage
    • Stats/Health
    • Scrub interval
    • SMART monitoring
  • Memory
    • Usage
    • OOM kills
  • Network
    • Connect to self via domain
    • Connect to third party via domain
    • Connect to third party via IP
  • Systemd service status
  • UPS battery level
  • Nixpkgs last update

Usage

cargo run -- --discord-webhook-url <DISCORD_WEBHOOK_URL>

For development, you may provide a .env file (see .env.sample).