Skip to content

hurra/craftbeerpi3_exporter

 
 

Repository files navigation

craftbeerpi_exporter

  • CraftBeerPi3 exporter for Prometheus
  • CraftBeerPi4 exporter for Prometheus
    • Right now, you need the at least avollkopf/craftbeerpi4@2d55410 until this gets merged to Manuels main repo.

Based on Robust Perception's python exporter example: For more information see (https://www.robustperception.io/writing-json-exporters-in-python)

Installation

On Debian systems just execute install.sh

sudo ./install.sh

This script should work on all Debian based systems but it is only tested on Debian.

You can pass extra options for craftbeerpi_exporter to the install script. This can be helpful when unsing CraftBeerPi4

sudo ./install.sh -c 4

Configuration

Note: When running the craftbeerpi_exporter on the same system as CraftBeerPi 3, no configuration is needed.

The following configuration options are available.

Option Description Default
-l port Listen port of exporter 9826
-a addr Address of CraftBeerPi 127.0.0.1
-p port Port of CraftBeerPi 5000/8000
-c version Version of CraftBeerPi 3 or 4 3

Just add the options to the service file.

About

CraftBeerPi 3 exporter for Prometheus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.4%
  • Shell 13.6%