Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

fba

Reviews(1)
byfba, September 8, 2014
1 of 1 people found this review helpful
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}'`