Skip to main content

Python module to pulish LVM cache statistics to MQTT.

Project description

lvmcache2mqtt

Python module to publish LVM cache (dmcache) statistics to MQTT. Data can then, for instance, be used for visualization in grafana or like.

Configuration

Configuration example:

mqtt:
    host: mqtt_broker_hostname

devices:
    - device: /dev/mapper/cached-device
      device_alias: some_alias
      target_topic: mqtt/topic/to/publish/to

Usage

Install python module with pip install lvmcache2mqtt.

Run with python -m lvmcache2mqtt

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

lvmcache2mqtt-0.5.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

lvmcache2mqtt-0.5.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file lvmcache2mqtt-0.5.0.tar.gz.

File metadata

  • Download URL: lvmcache2mqtt-0.5.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5

File hashes

Hashes for lvmcache2mqtt-0.5.0.tar.gz
Algorithm Hash digest
SHA256 8a85fb7071f3ff1864864d00ae9315ee38c0d4f30d23e5b839bde6923c68b79c
MD5 928c0c2b22f9f2e1d0cfefb66c16a9af
BLAKE2b-256 3fe791a8c96c89cb2250ab3d878ef834ebf7953dbc4cb227e03e05b55ce54921

See more details on using hashes here.

File details

Details for the file lvmcache2mqtt-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: lvmcache2mqtt-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.5

File hashes

Hashes for lvmcache2mqtt-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 479a9e867e2fc70dd394dbb3392ff2cc76ece39fb2efab7ce0b849c3da804516
MD5 1317566a4fdb985982c8442ba49b9d86
BLAKE2b-256 9fa7e242ccbe8599f4692519bd5b58535cbe2f342a9122d5e3916f2b1f0a13cf

See more details on using hashes here.

Supported by

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