Dell_iDRAC_fan_controller_D.../healthcheck.sh
2025-10-27 15:48:08 +00:00

11 lines
417 B
Bash

#!/bin/bash
# Enable strict bash mode to stop the script if an uninitialized variable is used, if a command fails, or if a command with a pipe fails
# Not working in some setups : https://github.com/tigerblue77/Dell_iDRAC_fan_controller/issues/48
# set -euo pipefail
source functions.sh
set_iDRAC_login_string "$IDRAC_HOST" "$IDRAC_USERNAME" "$IDRAC_PASSWORD"
ipmitool -I $IDRAC_LOGIN_STRING sdr type temperature