Hello Team,
In vROPS 6.0 ., i am trying to calculate a value for Total Disk Space & Total Disk Space used of a Datastore connected to a Single Vcenter Server .
I am using a below mentioned supermetric formula , but i m getting a data = 0
sum(${adapterkind=VMWARE, resourcekind=VMwareAdapter Instance, attribute=diskspace|total_capacity, depth=1})
sum(vCenter Server: Disk Space|Total disk space)
sum(${adapterkind=VMWARE, resourcekind=VMwareAdapter Instance, attribute=diskspace|total_usage, depth=1})
sum(vCenter Server: Disk Space|Total disk space used)
Thanks & Regard's
Upendra R
What object are you assigning the SM to?
Hello Mark,
I have assigned these supermetric to the Object Type Vmware Adapter-> vCenter Server.
I am trying to visualize the SM :- so i m getting No Data .. as i am collecting data for last 6 hours
Thanks
Hi Upendra,
These supermetrics do make a sense, for vSphere World (parent of VMwareAdapter Instance) object only.
sum(${adapterkind=VMWARE, resourcekind=VMwareAdapter Instance, attribute=diskspace|total_capacity, depth=1})
sum(vCenter Server: Disk Space|Total disk space)
sum(${adapterkind=VMWARE, resourcekind=VMwareAdapter Instance, attribute=diskspace|total_usage, depth=1})
sum(vCenter Server: Disk Space|Total disk space used)
And your depth is off... test it using the SM editor and you'll find that you need to change the attribute/depth or switch to $this to make it work.