grundic/zabbix-disk-performance
소개
Zabbix template for collecting IO statistics
과학 및 공학측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalzabbix-disk-performance
Zabbix template for collecting IO statistics
With this template you can collect different disk statistics.

Installation
To install, copy userparameter_diskstats.conf to /etc/zabbix/zabbix_agentd.d/userparameter_diskstats.conf and lld-disks.py to /usr/local/bin/lld-disks.py.
Do not forget to mark it executable.
# diskstats user parameters config
sudo mkdir -p /etc/zabbix/zabbix_agentd.d/
sudo wget https://raw.githubusercontent.com/grundic/zabbix-disk-performance/master/userparameter_diskstats.conf -O /etc/zabbix/zabbix_agentd.d/userparameter_diskstats.conf
# low level discovery script
sudo wget https://raw.githubusercontent.com/grundic/zabbix-disk-performance/master/lld-disks.py -O /usr/local/bin/lld-disks.py
sudo chmod +x /usr/local/bin/lld-disks.py
userparameter_diskstats.conf is user parameters for Zabbix.
lld-disks.py is low level discovery script for enumerating disks of your system.
After that restart zabbix-agent
sudo service zabbix-agent restart
Go to Zabbix's web interface, Configuration->Templates and import Template Disk Performance.xml.
After that you should be able to monitor disk activity for all your disks.
Please note, that items and graphs are created for each disk/partition individually using discovery script, so do not expect to
find them under usual configuration -- they would be in Discovery rules section:

Low level discovery will list your RAID devices, and LVM volumes, but LVM volumes will be mapped with their device-mapper ID, not the pretty names.
Using without User Parameters
Zabbix have standard parameters for monitoring disk io: vfs.dev.read and vfs.dev.write with several types:
- sectors
- operations
- sps
- ops
Template have this values configured, but disabled by default.
Testing
To test that everything work use zabbix_get (from some time this is in it's own package, so do apt-get/yum install zabbix-get):
# view result of low level discovery
zabbix_get -s 127.0.0.1 -k "custom.vfs.discover_disks"
# view statistics for 'sda' disk
zabbix_get -s 127.0.0.1 -k "custom.vfs.dev.write.sectors[sda]"
관련 프로젝트 살펴보기
불러오는 중…