Skip to content

Raspberry Pi 5 exporter with active cooler support

License

Notifications You must be signed in to change notification settings

berkas1/rpi5_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi 5 Exporter

Raspberry Pi Prometheus exporter. Works in Docker, or as a standalone script. Written in Python (since more people know this language, including myself) so it can be easily extended. It uses python's internal webserver.

Supports Raspberry Pi 5 and Raspbian-based images. Currently shows:

Requirements

  • Python 3.x
  • (optional) Docker

Usage

Docker

docker run -d -p 8878:8878 --device /dev/vcio --name rpi5_exporter berkas1/rpi5_exporter:v0.1

Standalone

  • clone this repository or download the script to your Raspberry Pi 5
  • run the exporter python3 raspberry_pi_5_exporter.py --webserver --port 8878

Integration with Prometheus:

To integrate with Prometheus, add the following job to your Prometheus configuration file (prometheus.yml):

scrape_configs:
  - job_name: 'raspberry_pi_5'
    static_configs:
      - targets: ['<Raspberry_Pi_IP>:8878']

License

This script is provided under the MIT License. See the LICENSE file for more details.