Kommentare ergänzt

This commit is contained in:
Patrick Schindelmann 2019-10-22 10:18:37 +02:00
parent c9f1bf80df
commit 5e2e85d481
1 changed files with 9 additions and 0 deletions

View File

@ -11,9 +11,18 @@
# - deliver performance data
# - options in linux style
# - it should do its job perfectly
# - switchable from celsius to fahrenheit
#
# The warning and critical values are from a 2007 Google study (Failure Trends in a Large Disk Drive Population)
#
#
# USAGE:
# ./check_hddtemp.sh -d <device> -w <warn> -c <crit>
# Nagios script to get the temperatue of HDD from hddtemp
#
# If you may have to let nagios run this script as root
# This is how the sudoers file looks in my debian system:
# nagios ALL=(root) NOPASSWD:/<path>/<to>/check_hddtemp.sh
################################################################################
HDDTEMP="$(type -P hddtemp)"