Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
fba
iostat -d hdisk4 1 1
System configuration: lcpu=4 drives=3 paths=6 vdisks=2
Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk4 0.0 0.0 0.0 0 0
tps is the 4th parameter
Kb_read is the 5th parameter
Kb_wrtn is the 6th parameter
The following line :
IOSTAT_PERF=`/usr/bin/iostat -d $HDISK 1 1| grep hdisk| awk '{print $1"_Busy="$2";"'$WARNING'";"'$CRITICAL'" "$1"_tps="$3" "$1"_KbRd="$
4" "$1"_KbWt="$5}'`
must be replace by :
IOSTAT_PERF=`/usr/bin/iostat -d $HDISK 1 1| grep hdisk| awk '{print $1"_Busy="$2";"'$WARNING'";"'$CRITICAL'" "$1"_tps="$4" "$1"_KbRd="$
5" "$1"_KbWt="$6}'`
System configuration: lcpu=4 drives=3 paths=6 vdisks=2
Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk4 0.0 0.0 0.0 0 0
tps is the 4th parameter
Kb_read is the 5th parameter
Kb_wrtn is the 6th parameter
The following line :
IOSTAT_PERF=`/usr/bin/iostat -d $HDISK 1 1| grep hdisk| awk '{print $1"_Busy="$2";"'$WARNING'";"'$CRITICAL'" "$1"_tps="$3" "$1"_KbRd="$
4" "$1"_KbWt="$5}'`
must be replace by :
IOSTAT_PERF=`/usr/bin/iostat -d $HDISK 1 1| grep hdisk| awk '{print $1"_Busy="$2";"'$WARNING'";"'$CRITICAL'" "$1"_tps="$4" "$1"_KbRd="$
5" "$1"_KbWt="$6}'`