Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/autowp/odroid-helper
Odroid temperature prometheus exporter + CloudShell fan control
https://github.com/autowp/odroid-helper
odroid prometheus temperature
Last synced: about 2 months ago
JSON representation
Odroid temperature prometheus exporter + CloudShell fan control
- Host: GitHub
- URL: https://github.com/autowp/odroid-helper
- Owner: autowp
- License: mit
- Created: 2019-04-29T21:18:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-04-30T04:22:17.000Z (over 5 years ago)
- Last Synced: 2024-06-20T16:51:48.973Z (7 months ago)
- Topics: odroid, prometheus, temperature
- Language: Go
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# odroid-helper
Odroid temperature prometheus exporter + CloudShell fan control![Grafana Example](grafana.png)
Installation
```
wget https://github.com/autowp/odroid-helper/releases/download/v1.0.0/odroid-helper-1.0.0.deb
dpkg -i odroid-helper-1.0.0.deb
```Start/stop service
```
systemctl start odroid-helper
systemctl stop odroid-helper
```Usage of /usr/bin/odroid-helper:
```
-addr string
The address to listen on for HTTP requests. (default ":9590")
-debug
Enable debug output.
-fan-interval duration
The interval at which the fan is adjusted. (default 2s)
-interval duration
The interval at which the temperature is checked. (default 10s)
-start-fan-cmd string
Start fan cmd. (default "i2cset -y 1 0x60 0x05 0x00")
-start-fan-threshold float
Start fan threshold (default 75)
-stop-fan-cmd string
Stop fan cmd. (default "i2cset -y 1 0x60 0x05 0x05")
-stop-fan-threshold float
Stop fan threshold (default 45)
```
Prometheus config example
```
scrape_configs:
- job_name: 'odroid'
honor_labels: true
target_groups:
- targets: ['odroid:9590', 'hc-1:9590', 'hc-2:9590']
```Grafana prometheus expr example (show only zone0): `odroid_temperature_celsius{job='odroid',zone='zone0'}`