Skip to main content

Monitorix Frontend for Gemini Protocol

Project description

Monitorix Gemini-Frontend

Gemini-page with Monitorix ascii-graphs in braille.

  • System load average and usage (System load, Memory allocation, Active processes, Entropy, Uptime)
  • Filesystem usage and I/O activity (Filesystem usage, Disk I/O activity, Inode usage, Time spent in I/O activity)
  • Network traffic and usage (Traffic, Packets Errors)
  • Icecast (Listeners, Bitrate)
w-urls.png wo-urls.png

Install

Requirements:

  • Monitorix - installed and started system service
  • rrdtool - python package to provide access to *.rrd database files
  • brasciichart - python package to ascii-graph

Installing rrdtool python-package can require developer packages: python3.x-dev, librrd-dev.

$ sudo apt install python3.9-dev librrd-dev
$ pip install GmMonitorix

After GmMonitorix successfully installed, remove dev-packages if not required:

$ sudo apt remove python3.9-dev librrd-dev

The Gemini-server account should have write-access in the work directory. To protect monitorix page with user certificate, place .admins file with user's certificate fingerprints into this work directory.

GmCapsule

For GmCapsule server add to your config-file a section with CGI-settings.

[cgi.monitorix]
# monitoring gemini-page url-path
path = /monitorix/*

cwd = /writable/work/dir/

# path to a Python-interpreter with rrdtool, brasciichart, GmMonitorix
command = /path/to/python3 -m GmMonitorix

The monitoring gemini-page will be accessible by gemini://<hostname>/monitorix/cgi URL.

Links

TODO

  • all metrics
  • support net traffic bit/s
  • support FreeBSD, OpenBSD, NetBSD total memory bytes
  • support uptime units: minutes, hours
  • support OpenBSD, NetBSD with m_mused, m_macti only

Change log

v0.1.2

  • Add Icecast (Listeners, Bitrate)

v0.1.1

  • Add Filesystem Usage (Usage, Disk I/O, Inode, Time spent in I/O)
  • Use rigid and limits from config

v0.1.0

Initial release

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

gmmonitorix-0.1.2.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

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

gmmonitorix-0.1.2-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

Details for the file gmmonitorix-0.1.2.tar.gz.

File metadata

  • Download URL: gmmonitorix-0.1.2.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for gmmonitorix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f5478748b65e2a02c0b10f9f2d928576cdad3b57392f408a7d15c3788fc769da
MD5 aee4887e174d0f594c8b6104f63e959a
BLAKE2b-256 52586a900f1616340b064bed14e05c7a035aba3c10ff4d29179994a9cff15f51

See more details on using hashes here.

File details

Details for the file gmmonitorix-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: gmmonitorix-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for gmmonitorix-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b083f0a9c1a2d445e25300e686e9599398b0868cc27802467759cc7b14c5178c
MD5 1dc4cbb85d51a5ea38f56b059a276aa6
BLAKE2b-256 775894b222db8d536cc7c6b3dba16ce754c138c22fda82a9d2cdcc0e73fd9eb4

See more details on using hashes here.

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