Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-6677

Docker container CPU usage in percentage.

XMLWordPrintable

    • Team INT
    • Sprint 76 (May 2021), Sprint 77 (Jun 2021), Sprint 78 (Jul 2021), Sprint 79 (Aug 2021), Sprint 80 (Sep 2021), Sprint 81 (Oct 2021), Sprint 82 (Nov 2021)
    • 1

      Currently docker template is not provide metrics with percentage of CPU usage for every container.
      Here is documentation.
      https://docs.docker.com/engine/api/v1.41/#operation/ContainerStats
      Where mentioned formula for CPU %

      CPU usage % = (cpu_delta / system_cpu_delta) * number_cpus * 100.0 
      

      We have all this information in JSON from Docker API.

      Attached template with possible changes
      Template Docker New Zabbix Agent.xml

      Probably it would be great to have it in official template.

            afayantsev Anton Fayantsev (Inactive)
            neogan Andrei Gushchin (Inactive)
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: