Ad Widget

Collapse

Memory usage in % for VM Guest (not hypervisor)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ysus
    Senior Member
    • Mar 2016
    • 100

    #1

    Memory usage in % for VM Guest (not hypervisor)

    Hi Zabbix Experts,

    Yet another question regarding "Guest VM memory usage in %" counter. Same question have been asked here but nobody replied



    There are few topic regarding "Hypervisor VM memory usage in %" and seems to be working fine. Item reference is vmware.hv.perfcounter[{$VMWARE.URL},{$VMWARE.HV.UUID},"mem/usage[average]"]




    However when I tried to get the same metric from Guest vmware.vm.perfcounter[{$VMWARE.URL},{$VMWARE.HV.UUID},"mem/usage[average]"] it does not show the real value which I can see in Task Manager. I've tried both "average" and "none" rollouts. See attached.

    Actually this value is the same as "vmware.vm.memory.size.usage.guest" which is included in default "VMware Guest" template.

    Question: Which key I need to use to collect true memory usage from guest VM? I mean the value which is shown in Task Manager. Or I need to use calculation as it is done in Zabbix Agent "memory utilization" item?

    Thanks​
    Attached Files
  • jonnjonzzn2
    Junior Member
    • Sep 2024
    • 6

    #2
    Same question. Did you ever find a way to do this without the zabbix agent? I started to look and see if the vcenter API exposes such a metric but have not found one yet.

    Comment

    • jonnjonzzn2
      Junior Member
      • Sep 2024
      • 6

      #3
      Update VMware templates to latest version in git. Problem solved.

      Comment

      • Inewthinker
        Junior Member
        • May 2023
        • 7

        #4
        Originally posted by jonnjonzzn2
        Update VMware templates to latest version in git. Problem solved.
        Hi @jonnjonzzn2
        Can you please send the link to the templates and the key details ? I facing the same issue...
        My cluster is 3 ESXI under Vcenter and more than 20 VMs (windows and Linux) .I am using FQDN macros to connect Vcenter API and I am getting all the VM and ESXI metrics. BUT not getting the REAL memory usage in % of the VMs.

        Thanks
        Ben

        Comment

        Working...