lukasmalkmus / rpi_exporter

A Raspberry Pi CPU temperature exporter.
Apache License 2.0
78 stars 17 forks source link
prometheus prometheus-exporter raspberry-pi

lukasmalkmus/rpi_exporter

A Raspberry Pi CPU temperature exporter. - by Lukas Malkmus

Travis Status Go Report Latest Release License Docker


Table of Contents

  1. Introduction
  2. Usage
  3. Contributing
  4. License

Introduction

The rpi_exporter is a simple server that scrapes the Raspberry Pi's CPU temperature and exports it via HTTP for Prometheus consumption.

Usage

Installation

The easiest way to run the rpi_exporter is by grabbing the latest binary from the release page.

Do not forget to run rpi_exporter using user in video group to get GPU details from RPi.

Building from source

This project uses go mod for vendoring.

git clone https://github.com/lukasmalkmus/rpi_exporter.git
cd rpi_exporter
make build

Using the application

./rpi_exporter [flags]

Help on flags:

./rpi_exporter --help

Docker images

Thanks to Carlos Eduardo docker images are now available for this exporter! Checkout DockerHub!

Contributing

Feel free to submit PRs or to fill Issues. Every kind of help is appreciated.

License

© Lukas Malkmus, 2019

Distributed under Apache License (Apache License, Version 2.0).

See LICENSE for more information.