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

zabbix-agent get wrong memory values in Linux Containers

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Won't fix
    • 4.0.24, 5.0.3, 5.2 (plan)
    • 5.2 (plan)
    • Agent (G)
    • None
    • Linux Container on proxmox
    • Team C
    • Sprint 68 (Sep 2020), Sprint 69 (Oct 2020)
    • 3

    Description

      The the zabbix-agent get the wrong memory values in a Linux Container which is limited with cgroup.
      It seems that the zabbix-agent report the memory values of the host system and not from the container. So it is useless for triggers.
      top in the container shows the correct values.
      also /proc/meminfo shows the correct values.

      A Simple workaround is to detect if you are in a lcx-container (/proc/1/environ) and do not use this values in the trigger.

      Attachments

        Issue Links

          Activity

            People

              MVekslers Michael Veksler
              huckley Falk Hackenberger
              Votes:
              11 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: