Zabbix

Linux DISK IO 모니터링

bedbmsguru 2018. 11. 30. 11:44

참조: https://github.com/grundic/zabbix-disk-performance



1. wget https://raw.githubusercontent.com/grundic/zabbix-disk-performance/master/userparameter_diskstats.conf -O /etc/zabbix/zabbix_agentd.d/userparameter_diskstats.conf


2. wget https://raw.githubusercontent.com/grundic/zabbix-disk-performance/master/lld-disks.py -O /usr/local/bin/lld-disks.py



3. chmod 755 /usr/local/bin/lld-disks.py


4. vi /usr/local/bin/lld-disks.py


  -->skippable = {"sr", "loop", "ram"} 에 "dm-" 추가


dm- 와 sdx는 중복이므로 둘중에 하나만 하면 된다. 


5. zabbix-agent 재시작



6. Zabbix Web 으로 로그인해서 Template_Linux_DISK_Performance(이름은 다를 수 있음) 를 적용한다.