Simple Raspberry Pi system temperature reporter for Prometheus.
985
Reads a special file in /sys virtual fs; then reports it via Prometheus http scrape protocol.
docker run -it --rm argentoff/rpiterm --help
docker run -d --restart=unless-stopped --name thermometer -p 9101:9101 argentoff/rpiterm --listen-prometheus=9101
You can choose the system's thermometer file via the coresponding cli key as described in self-documenation:
-f VAL, --thermometer-file=VAL
(absent=/sys/class/thermal/thermal_zone0/temp or THERMOMETER_FILE env)
Optional file containing the system thermometer data.
Content type
Image
Digest
Size
3.3 MB
Last updated
over 6 years ago
docker pull argentoff/rpiterm:v0.2.8-arm64v8