Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-25801

Docker template doesn't get correct container memory values

XMLWordPrintable

      Steps to reproduce:

      1. Configure the Docker plugin by Zabbix Agent 2 
      2. Create host and choose template
      3. Get container memory metrics

      Result:
      Zabbix shows a ridiculous value for my zabbix-mariadb container, for example:

      The other containers also show the wrong values, but the diference is not that much (still pretty diferent, like my code-server, docker stats shows 96MiB, Zabbix shows more than 150MiB)
      Using docker stats on my server: 


      Expected:
      Similar values to Docker stats.
      Item I'm using: Container /example: Memory usage - Docker by Zabbix Agent 2

        1. image-2024-12-26-12-03-32-237.png
          26 kB
          Deborah Maia
        2. image-2024-12-26-12-04-54-941.png
          12 kB
          Deborah Maia
        3. image-2025-01-06-07-19-48-314.png
          23 kB
          Deborah Maia
        4. image-2025-01-06-07-22-45-898.png
          22 kB
          Deborah Maia
        5. image-2025-01-06-07-25-20-780.png
          57 kB
          Deborah Maia

            zabbix.support Zabbix Support Team
            dmaia Deborah Maia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: