Hi,
I have a powershell script running on hyper-v that gives out data about running VMs in JSON as shown:
{
"data":[
{ "{#VMNAME}":"centos-7" ,"{#VMSTATE}":"Running", "{#VMCPU}": 0,"{#VMRAM}": 643825664 },
{ "{#VMNAME}":"solaris-10" ,"{#VMSTATE}":"Running", "{#VMCPU}": 20,"{#VMRAM}": 1073741824 },
{ "{#VMNAME}":"ubuntu-16.04" ,"{#VMSTATE}":"Running", "{#VMCPU}": 0,"{#VMRAM}": 639631360 }
]
}
This script does not require any input parameters.
The hyper-V template by nick0909 at
does not show the RAM usage of the guest VMs.
I would like to create LLD items for the VMCPU (CPU Usage%) and VM RAM (bytes) for each discovered VM. How should I proceed?
Thanks.
I have a powershell script running on hyper-v that gives out data about running VMs in JSON as shown:
{
"data":[
{ "{#VMNAME}":"centos-7" ,"{#VMSTATE}":"Running", "{#VMCPU}": 0,"{#VMRAM}": 643825664 },
{ "{#VMNAME}":"solaris-10" ,"{#VMSTATE}":"Running", "{#VMCPU}": 20,"{#VMRAM}": 1073741824 },
{ "{#VMNAME}":"ubuntu-16.04" ,"{#VMSTATE}":"Running", "{#VMCPU}": 0,"{#VMRAM}": 639631360 }
]
}
This script does not require any input parameters.
The hyper-V template by nick0909 at
does not show the RAM usage of the guest VMs.
I would like to create LLD items for the VMCPU (CPU Usage%) and VM RAM (bytes) for each discovered VM. How should I proceed?
Thanks.