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.2.1.tar.gz (2.2 kB view hashes)

Uploaded Source

Built Distribution

lvmcache2mqtt-0.2.1-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

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