Commit Graph

2 Commits

Author SHA1 Message Date
Jeroen De Meerleer 2502f8c817
Refactor temperature check and error handling
- Refactored code to improve readability and maintainability
- Added error handling for when Temper USB is not found
- Updated variable names for clarity
2023-08-02 16:13:58 +02:00
Jeroen De Meerleer 27313aec76
Add check-env-temp.sh script to monitor environment temperature
This commit adds a new bash script called check-env-temp.sh that monitors the internal temperature of the system and returns an exit code based on whether it is within acceptable limits. The script takes in command line arguments for setting warning and critical thresholds, and outputs a message indicating whether the temperature is OK, Warning or Critical along with performance data.
2023-06-19 22:31:01 +02:00