Zabbix Share

Zabbix templates, modules & more
Log in
Choose social to login:
Login With Google
Login With Github

Nav view search

Navigation

Advanced Search
  • Applications
  • Cloud
  • Databases
  • Network Appliances
  • Network Devices
  • Official Templates
  • Operating Systems
    • Debian
    • FreeBSD
    • IBM i (i5/OS, OS/400) for IBM System i (AS/400)
    • Linux
    • Mac OS
    • macOS
    • RedHat
    • Security
    • Solaris
    • Ubuntu
    • VMWare
    • Windows
  • Power (UPS)
  • Printers
  • SCADA, IoT, Energy, Home Automation, Industrial monitoring
  • Server Hardware
  • Storage Devices
  • Telephony
  • Unsorted
  • Virtualization
  • Zabbix
  • Recently Added
  • Recently Updated
  • Popular
  • Most Rated
  • Top Rated
  • Most Reviewed

Disk_Stat

  • 791.png
  • 792.png
  • 794.png
  • 795.png
  • 807.png

Send statistic from /proc/diskstats to Zabbix without any additional package and program

Features

  • AutoDiscovery BlockDev and Filter by global regexp: block_dev_filter
  • Collect Read\Write Operations per second
  • Collect Read\Write Sectors per second
  • Calculate Time for 1 Read\Write Operations
    • Trigger when IO_Time >30ms at last 5min
  • Collect IO Queue
  • Convert DM(Device Mapper) device to pretty Name
    • Get stat for dm-1 but print for user vg00-lv_root
    • After reboot dm-1 may change to dm-2, but stat will be correct

Install

Original install instruction on GitHub

  • 1. Add parametrs to zabbix-agent.conf

#### enable Include in config # /etc/zabbix/zabbix_agentd.conf echo "Include=/etc/zabbix-agent.d/*.conf" >> /etc/zabbix/zabbix_agentd.conf #### copy config mkdir -p /etc/zabbix-agent.d/ && cd /etc/zabbix-agent.d/ # For RHEL/CentOS-8, Debian-10(buster), Ubuntu-18.04(Xenial), Gentoo curl -O 'https://raw.githubusercontent.com/dusharu/ZBX_Disk_Stat/master/config_zabbix-agent/Disk_Stat.conf' # For old system curl -o Disk_Stat.conf 'https://raw.githubusercontent.com/dusharu/ZBX_Disk_Stat/master/config_zabbix-agent/Disk_Stat_awk.conf' #### restart zabbix-agent # RHEL/CentOS systemctl restart zabbix-agentd # Debian/Ubuntu systemctl restart zabbix-agent # Gentoo /etc/init.d/zabbix-agentd restart

  • 2. Import Template_ZBX/ZBX_Disk_Stat.xml
  • 3. Check LLD Override. Default value:
    • ^$ - result FALSE - device was remove
    • .snapshot. - result FALSE - filter LVM snapshot
    • -real$ - result FALSE - filter LVM snapshot
    • -cow$ - result FALSE - filter LVM snapshot
    • ^xvd[a-z]*[0-9]+$ - result FALSE - filter partitions
    • ^[hs]d[a-z]*[0-9]+$ - result FALSE - filter partitions
    • ^loop[0-9]*$ - result FALSE - filter loop device
    • ^sr[0-9]*$ - result FALSE - filter CD-ROM
  • 4. Add host to group "Disk_Stat: io_block_dev"
  • 5. Wait before Zabbix Discovery and Get Some Data
Rating
500
0 vote

Listing Details

Type
Template
OS
  • General
  • Other
Min Zabbix version
3.4.x
Features
  • Low Level Discovery (LLD)
  • Zabbix Agent
Link
github.com/dusharu/ZBX_Disk_Stat
Created
2019-11-25
Modified
2021-04-12 01:03:03
Tags
Linux, Disk, io
Author
dusharu
Owner
Andrey
RecommendReportOwner's listing
All resources created by third parties; use at your own risk
© 2001-2018 by Zabbix SIA. All rights reserved. Trademark Policy · Contact us