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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size lvmcache2mqtt-0.5.0-py3-none-any.whl (8.1 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size lvmcache2mqtt-0.5.0.tar.gz (2.8 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for lvmcache2mqtt-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 479a9e867e2fc70dd394dbb3392ff2cc76ece39fb2efab7ce0b849c3da804516 |
|
MD5 | 1317566a4fdb985982c8442ba49b9d86 |
|
BLAKE2-256 | 9fa7e242ccbe8599f4692519bd5b58535cbe2f342a9122d5e3916f2b1f0a13cf |