Kommentare ergänzt
This commit is contained in:
parent
c9f1bf80df
commit
5e2e85d481
@ -11,9 +11,18 @@
|
|||||||
# - deliver performance data
|
# - deliver performance data
|
||||||
# - options in linux style
|
# - options in linux style
|
||||||
# - it should do its job perfectly
|
# - 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)
|
# 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)"
|
HDDTEMP="$(type -P hddtemp)"
|
||||||
|
Loading…
Reference in New Issue
Block a user