Skip to main content

A federate, offline-friendly dashboard and documentation system for Linux homelabs

Project description

monitor@/monitorat masthead that shows the french IPA phonetics and the tagline 'a system for observing and documenting status' and an icon with a monitor and superimposed at-character

[ demo ]

Monitorat is a federated dashboard and documentation system.

Its philosophy is to make system monitoring and documentation continuous, much like the way tables and figures are integrated within journal articles or Wikipedia.

Available widgets:

Widgets have a general, self-contained structure where both API and UI are straightforward to create.

~/.config/monitorat/widgets/
└── my-widget
    ├── api.py
    ├── default.yaml
    ├── index.html
    └── app.js

Documentation is editable in-browser and handled by proliferating Wiki widgets across your dashboard. Each document fragment added is a new widget instance. All documents you add to your wiki will be rendered in GitHub-flavored Markdown via markdown-it.

Gallery

The Demo is a fully interactive version of the application and provides complete resource parity between widget layouts and their YAML config snippets. In that sense, the demo is the documentation.

Features

  • Beautiful documentation for your Homelab and media servers.
  • Completely headless and works offline.
  • Responsive design for mobile and desktop, with light and dark modes.
  • Track how hot your CPU gets over the course of the day.
  • Be alerted when under extremely high load.
  • Keep a record of internet speedtests even when AFK.
  • List all your reverse-proxied services with offline-friendly bookmarks.
  • Even runs on Raspberry Pi 2/3 w/ Pi-Hole, Unraid, and other homelab systems.
  • Has federation: you can monitor services, metrics data, and documentation across many machines from a central command.

Installation

PyPI

Try the demo in 3 seconds:

uv tool install monitorat && monitorat demo

Then open http://localhost:6100.

See: Package Install for installing from PyPI with pip or uv.

Docker

See: Docker Install for installation in a container.

Source

See: Source Install for git-based installations or deployments to /opt.


The Dashboard

Open http://localhost:6161, or your specified port, or configure through a reverse proxy.

Configuration

These are the basic monitorat settings for your system, assuming you want to keep all icons and data close to your config file (usually ~/.config/monitorat/):

site:
  name: "@my-nas"
  title: "Dashboard @my-nas"
  editing: true

paths:
  data: data/
  img: img/  # or /home/user/.config/monitorat/img/

widgets: { ... }

# privacy: { ... }
# alerts: { ... }
# notifications: { ... }

Widgets

Monitorat has an extensible widget system. You can add any number of widgets to your dashboard multiple times over, re-order them, and enable/disable any you don't need.

Configuration

You can add more widgets of other origin in ~/.config/monitorat/widgets/.

widgets:
  enabled:             # dashboard positions: from top to bottom
    - my-server-notes  # type: wiki
    - services
    - metrics
    - # reminders      # '#' disables this widget
    - network
    - speedtest
    - my-widget        # in ~/.config/monitorat/widgets/

Each widget can be configured in its own YAML block. To configure a widget in its own file:

includes:
  - "/home/user/.config/monitorat/widgets/my-widget.yaml"

or do this for every widget through config snippets:

includes:
  - snippets/services.yaml
  - snippets/metrics.yaml
  - # ... wikis, user widgets, etc
Making your own

Widgets are also quite easy to build with AI. Widget built with Codex in 12 minutes:

Agentic Archetype: Building Widgets with AI

Available Widgets

Services

  • monitor systemd services, timers, and Docker containers in real time
  • can be used as homelab bookmarks in compact cards layout
  • simultaneously provides both your URL (or WAN IP) and local address (or LAN IP) for use offline
  • monitorat is completely encapsulated and works offline even when internet is down

Wiki

  • uses markdown-it and GitHub-flavored markdown
  • can columnate multiple documents/Markdown fragments
  • editor can be used to spruce up system docs in the browser
  • supports Mermaid diagrams
  • inline LaTeX math via KaTeX
  • supports GitHub admonitions

System Metrics

  • provides an overview of system performance over time in metrics.csv
  • measures CPU, memory, disk and network usage, temperature, etc.
  • get notified when system metrics exceed configured thresholds:
Configuring Alerts
alerts:
  cooldown_minutes: 60  # Short cooldown for testing
  rules:
    high_load:
      threshold: 2.5    # load average (e.g., the '1.23' in 1.23 0.45 0.06)
      priority: 0       # normal priority
      message: High CPU load detected
    high_temp:
      threshold: 82.5   # celsius
      priority: 1       # high priority  
      message: High temperature warning
    low_disk:
      threshold: 95     # percent
      priority: 0       # normal priority
      message: Low disk space warning

Speedtest

  • keep a record of your internet performance over time
  • currently does not perform automated runs

Network

The network widget is best used on machines with continuous uptime. Two options:

  • (a) using a ddclient-style log, or
  • (b) use the built-in chirper

Reminders

  • facilitated by Apprise URLs (see below).
  • ping yourself for system chores, key changes, etc.

Summary of Widget Features

Widget Chart Filters Snapshot Recording Editing Federation Merge Notify
S. Metrics Y - Y(tiles) Y Y(tiles) chart Y(alert)
Network Y(pips) Y(outages) Y(tiles) Y N interleave Y(alert)
Speedtest Y - - N - chart N
Services - Y Y(cards) N Y interleave N
Reminders - Y - - Y interleave Y
Wiki Y - - - Y continuous -

[!NOTE] Key Y = supported | N = planned / potential feature | - = not applicable

General Features

Editing

  • built-in Markdown editor and previewer
  • configure new reminders and services directly through the web interface
  • Web UI configuration seamlessly updates the YAML config file or downstream snippets

Notifications

The notifications system uses Apprise to notify through practically any service via apprise URLs.

notifications:
  apprise_urls:
    - "pover://abscdefghijklmnopqrstuvwxyz1234@4321zyxwvutsrqponmlkjihgfedcba"
    - "mailto://1234 5678 9a1b 0c1d@sent.com?user=main@fastmail.com&to=alias@sent.com"
    - # more apprise urls if needed...

Federation

Yes, you can even federate multiple instances of monitorat:

  • compare and plot metrics data across multiple machines
  • see service statuses for your entire homelab/network from a central node
  • especially useful for filtering and sorting events network-wide

[!NOTE] To simultaneously use federation of remotes AND local monitoring, you must setup a client monitorat instance and a separate monitorat server to federate locals and remotes in the same pane.

Privacy

The privacy mask helps share your setup online without exposing personal information.

privacy:
  replacements:
    my-site.org: example.com
    replace-me: with-this
    ...
  mask_ips: true

Running monitorat config will print the runtime config with these masks applied as well.


Development

License

GPLv3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monitorat-0.14.3.tar.gz (3.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

monitorat-0.14.3-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file monitorat-0.14.3.tar.gz.

File metadata

  • Download URL: monitorat-0.14.3.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for monitorat-0.14.3.tar.gz
Algorithm Hash digest
SHA256 aab42735a4299dde9e872067d147ee65fb84e812d6b47dd97ab90f80cf6c381c
MD5 7014c7d24c155a00002c877a3147c319
BLAKE2b-256 0daf6cf9ee2de7f51139bab4c7d9fc06d28e82587034ba9900c55f2458dc97d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for monitorat-0.14.3.tar.gz:

Publisher: publish.yml on brege/monitorat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file monitorat-0.14.3-py3-none-any.whl.

File metadata

  • Download URL: monitorat-0.14.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for monitorat-0.14.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b8efe8ac93dd9d836cb1d8d243dda244091d4e41f0c6a1227ebf9022622689
MD5 b9c0cf1715df221c5d653af183cd926d
BLAKE2b-256 9316cd05df384219fd1cf0eb0488caa6e09bc837e2404ada8eb0fd07877ed1b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for monitorat-0.14.3-py3-none-any.whl:

Publisher: publish.yml on brege/monitorat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page