Zabbix template for disks monitoring by iostat.
- Copy iostat.conf to a directory /usr/local/zabbix/etc/zabbix_agentd.conf.d
- Copy iostat.conf and scripts to a directory /usr/local/zabbix/libexec/zabbix-extensions
- Make sure the scripts can be executed.
- Add a line to zabbix_agentd.conf: "Include=/usr/local/zabbix/etc/zabbix_agentd.conf.d/*.conf".
- Import iostat-template.xml as zabbix template.
zabbix_get -s hostname -k iostat.discovery
zabbix_get -s hostname -k iostat.collect
zabbix_get -s hostname -k iostat.metric['<device name>',<parameter>]
- r/s - read operations per second
- w/s - write operations per second
- kr/s - kilobytes read per second
- kw/s - kilobytes write per second
- qlen - transactions queue length
- svc_t - average duration of transactions, in milliseconds
- %b - % of time the device had one or more outstanding transactions