Merge branch 'master' of https://git.dinven.de/gitorious/Scripte
This commit is contained in:
commit
692e4dbb9e
@ -12,13 +12,14 @@
|
||||
# - options in linux style
|
||||
# - it should do its job perfectly
|
||||
#
|
||||
# The warning and critical values are from a 2007 Google study (Failure Trends in a Large Disk Drive Population)
|
||||
#
|
||||
################################################################################
|
||||
|
||||
HDDTEMP="/usr/sbin/hddtemp"
|
||||
PARAMETER="$*"
|
||||
WARNING="40"
|
||||
CRITICAL="50"
|
||||
CRITICAL="45"
|
||||
|
||||
function hilfetext(){
|
||||
cat <<- EOF
|
||||
@ -80,6 +81,7 @@ function ParameterEvaluation(){
|
||||
if [ ! -x "$HDDTEMP" ]
|
||||
then
|
||||
echo "hddtemp nicht gefunden"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#Wenn keine Option oder Argument angegeben wurde, wird die Hilfe ausgegeben
|
||||
|
Loading…
Reference in New Issue
Block a user