An open API service indexing awesome lists of open source software.

https://github.com/lukasmalkmus/rpi_exporter

A Raspberry Pi CPU temperature exporter.
https://github.com/lukasmalkmus/rpi_exporter

prometheus prometheus-exporter raspberry-pi

Last synced: 30 days ago
JSON representation

A Raspberry Pi CPU temperature exporter.

Awesome Lists containing this project

README

        

# lukasmalkmus/rpi_exporter

> A Raspberry Pi CPU temperature exporter. - by **[Lukas Malkmus]**

[![Travis Status][travis_badge]][travis]
[![Go Report][report_badge]][report]
[![Latest Release][release_badge]][release]
[![License][license_badge]][license]
[![Docker][docker_badge]][docker]

---

## Table of Contents

1. [Introduction](#introduction)
2. [Usage](#usage)
3. [Contributing](#contributing)
4. [License](#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][release].

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.

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

#### Using the application

```bash
./rpi_exporter [flags]
```

Help on flags:

```bash
./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](LICENSE) for more information.

[go mod]: https://golang.org/cmd/go/#hdr-Module_maintenance
[Lukas Malkmus]: https://github.com/lukasmalkmus
[Carlos Eduardo]: https://github.com/carlosedp
[DockerHub]: https://hub.docker.com/r/carlosedp/arm_exporter

[travis]: https://travis-ci.com/lukasmalkmus/rpi_exporter
[travis_badge]: https://travis-ci.com/lukasmalkmus/rpi_exporter.svg
[report]: https://goreportcard.com/report/github.com/lukasmalkmus/rpi_exporter
[report_badge]: https://goreportcard.com/badge/github.com/lukasmalkmus/rpi_exporter
[release]: https://github.com/lukasmalkmus/rpi_exporter/releases
[release_badge]: https://img.shields.io/github/release/lukasmalkmus/rpi_exporter.svg
[license]: https://opensource.org/licenses/Apache-2.0
[license_badge]: https://img.shields.io/badge/license-Apache-blue.svg
[docker]: https://hub.docker.com/r/carlosedp/arm_exporter
[docker_badge]: https://img.shields.io/docker/pulls/carlosedp/arm_exporter.svg