Ad Widget

Collapse

Discovery Disks & IO/Performance

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dvuong
    Junior Member
    • Aug 2013
    • 2

    #1

    Discovery Disks & IO/Performance

    I found the following articles:

    In the spirit of Zabbix and good monitoring I have decided to share a little something I have found and modified. In this article I will...




    I'm having problem importing the template.

    Currently running: Zabbix 2.0.6
    Trying to get disk discovery (like filesystem size but for I/O)
    And automatically generate I/O graph for disk ...

    Anyone have such a template to share?
  • cidnurg
    Junior Member
    • Aug 2013
    • 1

    #2
    Here you go

    Encountered the same problem today and decided to share solution - https://github.com/grundic/zabbix-disk-performance

    Comment

    • dkanbier
      Junior Member
      Zabbix Certified Specialist
      • Jul 2013
      • 13

      #3
      I've created a template with LLD support for Zabbix 2.2.1:



      I don't have access to a hardware raid device at this very moment, when I do I'll try to add that as well.

      Comment

      • joshuamcdo
        Member
        • Nov 2013
        • 76

        #4
        Reisk i/o

        You mean to tell me that zabbix still doesn't support this natively?

        Comment

        • kloczek
          Senior Member
          • Jun 2006
          • 1771

          #5
          Originally posted by joshuamcdo
          You mean to tell me that zabbix still doesn't support this natively?

          Creating list of block devices can be done by system.run[] like:
          Code:
          system.run["awk 'BEGIN {print \"{\"; print \"\\"data\\":[\"; ORS=\"\"} {if (NR!=1) {print \",\n\"}; print \" { \\"{#DISK}\\":\\"\" $3 \"\\" }\"} END {print \"\n ]\n}\n\"}' /proc/diskstats"]
          complicating LLD by use external UserParametr and script usually adds unnecessary level of complexity.
          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-templates

          Comment

          • jan.garaj
            Senior Member
            Zabbix Certified Specialist
            • Jan 2010
            • 506

            #6
            Originally posted by joshuamcdo
            You mean to tell me that zabbix still doesn't support this natively?
            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 / Vagrant

            Comment

            Working...