-
Change Request
-
Resolution: Fixed
-
Major
-
5.0.12rc1, 5.4.0
-
None
-
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.