Ad Widget

Collapse

LXC container - Bad memory value with agent

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Wapax
    Junior Member
    • Mar 2021
    • 2

    #1

    LXC container - Bad memory value with agent

    Hi everyone,

    I have a Proxmox Cluster with LXC Containers that I want to monitor with Zabbix Agent. But I always have a bad value for memory usage as you can see below.


    zabbix agent bad values​​

    I tried on different containers but it is always the same problem. But when I use SNMP agent, there are any problem.
    I use Zabbix 5.2 (always up to date) and Zabbix-agent (always up to date too).

    Do you have any idea ? Is it a bug ?

    Thanks
  • faisal.abdin90
    Junior Member
    • Mar 2023
    • 2

    #2
    Hello, I have been having the same issue. My front end UI of zabbix dashboard shows all the LXC Containers in my proxmox servers are "High memory utilization"

    Click image for larger version

Name:	image.png
Views:	1181
Size:	39.7 KB
ID:	460725

    All other metrics work except for this memory issue.
    I came across this guide to resolve the issue but didn't understand how to go about it. I'm not an expert in these matters q.q

    Please let me know if there are any easy to follow guide or video that I can follow to resolve this issue.
    Thank you in advance

    PS: The Zabbix server itself shows as inactive but that's another issue that I wasn't able to resolve​

    Comment

    • sea
      Junior Member
      • Aug 2024
      • 1

      #3
      I am experiencing the same issue with all LXC containers on my Proxmox servers. The Zabbix agent reports the total memory of the host instead of the container.

      According to the GitHub repository, this issue only affects zabbix-agent and has been fixed in zabbix-agent2.

      To resolve this issue on Debian 12, you can follow these steps:
      Code:
      sudo apt-get remove zabbix-agent
      sudo apt-get update
      sudo apt-get install zabbix-agent2
      After installation, make sure to update the Server= parameter in /etc/zabbix/zabbix_agent2.conf to match your setup.

      Comment

      Working...