Ad Widget
Collapse
Discovery Disks & IO/Performance
Collapse
X
-
Here you go
Encountered the same problem today and decided to share solution - https://github.com/grundic/zabbix-disk-performance -
-
Creating list of block devices can be done by system.run[] like:
complicating LLD by use external UserParametr and script usually adds unnecessary level of complexity.Code:system.run["awk 'BEGIN {print \"{\"; print \"\\"data\\":[\"; ORS=\"\"} {if (NR!=1) {print \",\n\"}; print \" { \\"{#DISK}\\":\\"\" $3 \"\\" }\"} END {print \"\n ]\n}\n\"}' /proc/diskstats"]
Filtering off some part of LLD json string can be done natively by using zabbix regexp. With LLD key using system.run[] and regexp done of scripts is needed.
If you have few hosts to monitor it may be not a problem to use some script executed by agent. However on scale hundredths or thousands hosts it is real nightmare.Last edited by kloczek; 13-01-2015, 01:03.http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
https://kloczek.wordpress.com/
zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
My zabbix templates https://github.com/kloczek/zabbix-templatesComment
-
Yes, it supports natively, keys: vfs.dev.read, vfs.dev.write *
You don't have access to all block devices metrics (/proc/diskstats), because IMHO it's problem with different OS and their IOps metric implementation. Some kernel versions (e.g. 2.6.18-53.el5.centos.plus, 2.4-) can be also problem, because they don't provide all "standard" block device metrics.
For me is important question which monitoring system can provide extended IOps monitoring (avgqu-sz, %util, ...) natively?
Does someone know answer?Devops Monitoring Expert advice: Dockerize/automate/monitor all the things.
My DevOps stack: Docker / Kubernetes / Mesos / ECS / Terraform / Elasticsearch / Zabbix / Grafana / Puppet / Ansible / VagrantComment
isk i/o
Comment