Hi guys,
I'm trying to create an item by calculating the CPU Usage in Percentage (%) for the template VM VMware Guests.
I cannot use vmware.vm.cpu.perfcounter() 'cause I have too many different machines to monitor and couldn't turn-on CPU performance counters per each one.
I alredy tried calculating it using vmware.vm.cpu.usage[{$URL},{HOST.HOST}] * vmware.hv.hw.cpu.freq[{$URL},{HOST.HOST}] / vmware.vm.cpu.num[{$URL},{HOST.HOST}] but it seems like that is not possible to include an "Hypervisor's key" inside a VM Guest template.
I even tried inserting the item for VM's HV Name instead of the UUID for the frequency's item -> vmware.hv.hw.cpu.freq[{$URL},"vmware.vm.hv.name[{$URL},{HOST.HOST}]"].
It seems there's no way to make it work.
Do you know if there any other ways to obtain the CPU Usage in Percentage?
I'm trying to create an item by calculating the CPU Usage in Percentage (%) for the template VM VMware Guests.
I cannot use vmware.vm.cpu.perfcounter() 'cause I have too many different machines to monitor and couldn't turn-on CPU performance counters per each one.
I alredy tried calculating it using vmware.vm.cpu.usage[{$URL},{HOST.HOST}] * vmware.hv.hw.cpu.freq[{$URL},{HOST.HOST}] / vmware.vm.cpu.num[{$URL},{HOST.HOST}] but it seems like that is not possible to include an "Hypervisor's key" inside a VM Guest template.
I even tried inserting the item for VM's HV Name instead of the UUID for the frequency's item -> vmware.hv.hw.cpu.freq[{$URL},"vmware.vm.hv.name[{$URL},{HOST.HOST}]"].
It seems there's no way to make it work.
Do you know if there any other ways to obtain the CPU Usage in Percentage?
Comment