Ad Widget

Collapse

How can fix template to get correct writeKB/S for each disks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bab
    Senior Member
    • Aug 2020
    • 182

    #1

    How can fix template to get correct writeKB/S for each disks

    I am using follow template :

    Zabbix template for collecting IO statistics. Contribute to grundic/zabbix-disk-performance development by creating an account on GitHub.


    to find out amount write KB/S on disks but for example my virtual machine has 1 disk (sda) and it contains volume such as follow :


    Code:
    /dev/mapper/vg00-root   /                       xfs     defaults        0 0
    /dev/mapper/vg00-backup /backup                 xfs     defaults        0 0
    UUID=154dc742-6137-43bc-acae-d9e3e198b93c /boot                   xfs     defaults        0 0
    UUID=2554-72EE          /boot/efi               vfat    defaults,uid=0,gid=0,umask=077,shortname=winnt 0 2
    /dev/mapper/vg00-home   /home                   xfs     defaults        0 0
    /dev/mapper/vg00-lateral /lateral                xfs     defaults        0 0
    /dev/mapper/vg00-tmp    /tmp                    xfs     defaults,noexec,nodev,nosuid        0 0
    /dev/mapper/vg00-usr    /usr                    xfs     defaults        0 0
    /dev/mapper/vg00-var    /var                    xfs     defaults        0 0
    /dev/mapper/vg00-swap   none                    swap    defaults        0 0
    tmpfs                   /dev/shm                tmpfs   defaults,noexec,nodev,nosuid        0 0
    l

    But after discovery on this host it find many items as writebyte/S ? Whta is the issue ? How can generate KB/S just for sda ?

    Click image for larger version

Name:	11.jpg
Views:	15
Size:	251.5 KB
ID:	514208

  • bab
    Senior Member
    • Aug 2020
    • 182

    #2
    Would please help me about it ?

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4939

      #3
      Old template with deprecated features... start by fixing template, replace any occurrence of "$1" with "{#DEVICENAME}" in discovery item prototypes.. After that (and rediscovery of items) you can actually understand, what means what..

      Butthere are also agent items like vfs.dev.read and vfs.dev.write, which should give such data without any custom userparameters..

      Comment

      Working...