Ad Widget

Collapse

Total Number of VM

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aldevar
    Junior Member
    • Jan 2016
    • 18

    #1

    Total Number of VM

    Hi all,

    I'm trying to graph our total number of virtual machines in our vcenter.
    This number appears on the Zabbix dashboard in the 'Host Status' part.
    There is a Host Group 'Virtual Machines' with the total number of hosts it contains.

    I've tried the Zabbix aggregate type to grpsum the item key 'vmware.hv.vm.num[{$URL},{HOST.HOST}]' present on each hypervisors but that doesn't work because the macros are not correct when called from the grpsum fonction.

    Code:
    grpsum["Hypervisors","vmware.hv.vm.num[{$URL},{HOST.HOST}]",last]
    This gives me this error :
    Code:
    No items for key "vmware.hv.vm.num[https://myvcenter.domain.tld/sdk,myvcenter.hostname]" in group(s) "Hypervisors".
    If I remove the macros, like this :
    Code:
    grpsum["Hypervisors","vmware.hv.vm.num",last]
    I have this error :
    Code:
    No items for key "vmware.hv.vm.num" in group(s) "Hypervisors".
    So, it seems Zabbix Aggregate won't allow me to graph this number.

    Do you have an idea of how I can have this number to be able to graph it?

    Regards,
  • burn
    Junior Member
    • Sep 2014
    • 1

    #2
    Hi,

    I'm facing exactly the same issue. I just mentionned this post and problem on the Zabbix IRC channel to get this fixed.


    Kind regards,
    B

    Comment

    • marcherren
      Junior Member
      • Mar 2011
      • 28

      #3
      any news on this?

      Comment

      Working...