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.
Nagios scripts
Copyright (c) 2023- Jeroen De Meerleer me@jeroened.be
A collection of scripts to check system metrics and other infrastructure related items
Licence
Copyright (c) 2023- Jeroen De Meerleer <me@jeroened.be>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Description
Languages
Shell
100%