Ad Widget

Collapse

IO Disk Utilisation Percentage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ibrahim
    Junior Member
    • Sep 2006
    • 19

    #1

    IO Disk Utilisation Percentage

    Hi,
    Zabbix has a buit-in item to give the number of IO disk operations io[disk_io]. However, this is not really very informative sometimes,as it doesnt give an intuitive sense of the disk utilisation. A percentage format of the maximum disk utilisation over a period of time would be more helpful for monitoring and alarming.

    I don't really know what is the formula/algorithm to calculate this percentage, but I figuered out how to find it in HPUX using sar program, and then I send this item to zabbix when needed:

    DISKIO=$(sar -d 5 5|grep Average|awk 'BEGIN {w=0} {if ($3 > w) w=$3} END {print w}');
    $ZABBIXPATH/zabbix_sender $SERVER 10051 $HOST diskio_percentage $DISKIO

    It is also possible to read this value from Glance (only in HPUX, similar to top).

    What I am trying to do now is to get this io disk utilisation percentage in Linux without using sar (I use RH Linux). I would be very thankful if you can help in this.

    Kind Regards,
    Ibrahim Hossain
Working...