lesovsky / zabbix-extensions

Zabbix additional monitoring modules
BSD 3-Clause "New" or "Revised" License
316 stars 230 forks source link

Upgrade collecting iostat metrics by auto discovery partitions and postprocessing items from json temporary item for each hdd partition #72

Closed vikingUnet closed 3 years ago

vikingUnet commented 5 years ago

Hi!

I upgraded operation of collecting iostat metrics:

Hope it will be usefull for anybody!

See file readme.md for mode details and how to.

stephankn commented 3 years ago

This change doesn't work on Ubuntu 20.04 LTS.

output of iostat 11.6.1 is Device instead of Device: as your script expects.

stephankn commented 3 years ago

merged it and will add a compatibility fix later.