2020-10-03 16:19:32 +02:00
|
|
|
# check_rpi_temperature
|
|
|
|
|
2020-10-03 16:22:25 +02:00
|
|
|
Icinga2/Nagios check program for Raspberry Pi temperature
|
|
|
|
|
2020-10-03 16:46:52 +02:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
- `bc` for floating point calculation
|
2020-10-03 16:49:06 +02:00
|
|
|
- Adding executing user to video group: `sudo adduser nagios video`. Otherwise "VCHI initialization failed"
|
2020-10-03 16:46:52 +02:00
|
|
|
|
2020-10-03 16:22:25 +02:00
|
|
|
## Arguments
|
|
|
|
|
|
|
|
- `--warning 50`: Temperature above which the result is warning
|
|
|
|
- `--critical 70`: Temperature above which the result is critical
|
|
|
|
- `--fahrenheit`: All temperatures in Fahrenheit (°F)
|
|
|
|
|
2020-10-03 16:46:52 +02:00
|
|
|
|