Ad Widget

Collapse

Virtual machines on a ESXi host - Value is not available

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MuriloHB
    Junior Member
    • Feb 2019
    • 29

    #1

    Virtual machines on a ESXi host - Value is not available

    Hey guys!

    I'm facing a few problems when trying to monitor virtual machines of a ESXi host. Here is what's happening:

    1. I've created a new host on Zabbix and applied on this host some default virtualization templates: Template VM VMware and Template VM VMware Hypervisor.
    2. After waiting for a while, the discovery rules of those templates populated Zabbix with new hosts (the virtual machines running on the ESXi).

    Here is where I have a problem: some of the virtual machines that were discovered don't support some items that I want to monitor (CPU usage, for example), reporting that: Value is not available (Img1).
    But at the same time other virtual machines that run on the same ESXi host, with the same operacional system, that are practically identical can retrieve that information! (Img2).

    I would like to know if I've done something wrong or if there is a way to check why Zabbix can't retrieve these specific items on those specific virtual machines.

    Thanks for the help!
    Attached Files
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    The only template linked to ESXi is "Template VM VMware". Other templates are used in the discovery process.
    If you are using a relatively new Zabbix version, the template for VMware has been renamed to "Template Virt VMware".

    Comment

    • MuriloHB
      Junior Member
      • Feb 2019
      • 29

      #3
      Oh I see, i thought I needed to use both "VM VMware" and "VMware Hypervisor" templates to discover the virtual machines running on the ESXi host.
      But the problem still remains, because even using only the "Template VM VMware" on the discovery process, Zabbix retrieve "CPU Usage" only on some virtual machines and on others it says that the "Value is not available".
      Am I missing something? I don't understand why this happens because they are running on the same OS (RHEL7).

      Comment

      • MuriloHB
        Junior Member
        • Feb 2019
        • 29

        #4
        Just a quick update to demonstrate the problem.
        Here is a picture of my zabbix_server.log right after I enable the item "vmware.vm.cpu.usage[{$URL},{HOST.HOST}]":

        Click image for larger version

Name:	Img3.png
Views:	1243
Size:	292.3 KB
ID:	383415


        As you can see for some virtual machines the value is supported and for others the "Value is not available". But why does this happen? I need the CPU Usage value for every VM on the ESXi host, is there another way to retrieive this info?
        Attached Files

        Comment

        • rdat
          Junior Member
          • May 2020
          • 6

          #5
          Any updates with this? We seem to be having the same issue

          Comment

          Working...