Skip to main content

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

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

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 N Y (chart) Y (alert)
Network Y (pips) Y (outages) Y (tiles) Y N Y (interleave) N
Speedtest Y - - N - Y (chart) N
Services - Y Y (cards) N Y Y (interleave) N
Reminders - Y - - Y Y (interleave) Y
Wiki Y - - - Y Y (continuous) -

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.11.1.tar.gz (3.4 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.11.1-py3-none-any.whl (3.5 MB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for monitorat-0.11.1.tar.gz
Algorithm Hash digest
SHA256 ca32a2598a290ababa8736ae7428f98eab36f036a81f2f6da27205b00aac920b
MD5 3d7dba5cbe62b578d33496a4e881844a
BLAKE2b-256 f0a5ec144fd7c7c2c9bfb04543625d9028821d7f966b1083970fce60881741e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for monitorat-0.11.1.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.11.1-py3-none-any.whl.

File metadata

  • Download URL: monitorat-0.11.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b7f31e552ae6a0d8cb71de6d610992ae894e4afe14c920c2d1768f849677385
MD5 6ab523157fa72b98caa933b9404bd1ed
BLAKE2b-256 07df26120aa741d8fe2f741f7cc4800b7bf321ae059b50b37dc2cf949e8dc35e

See more details on using hashes here.

Provenance

The following attestation bundles were made for monitorat-0.11.1-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