Hey all,
i dont find the function sumN for supermetrics in the new vROPS-appliance. Is there a replacement for this function or how do you create your supermetrics, who where before with the sumN-function?
Regards,
jengl
Hi jengl,
Now sum and sumN combined into sum function, you can use sum instead of sumN and specify depth as in below example.
sum(${adapterkind=VMWARE, resourcekind=VirtualMachine, attribute=cpu|usage_average, depth=1})
Hi jengl,
Now sum and sumN combined into sum function, you can use sum instead of sumN and specify depth as in below example.
sum(${adapterkind=VMWARE, resourcekind=VirtualMachine, attribute=cpu|usage_average, depth=1})
Thanks aaghabekyan for your answer.
Then how I can convert the following old supermetric in a new vROPS one?:
Cluster Datastores Total Capacity (GB)
sumN(Datastore: Capacity|Total Capacity (GB),2)
Datastore: Capacity|Total Capacity (GB) = Resources Kinds: Datastore > Capacity > Total Capacity (GB)
I cant get it working .
Regards,
jengl
It should be like this:
sum(${adaptertype=VMWARE, objecttype=Datastore, attribute=capacity|total_capacity, depth=2})
Perfect, your comment let me to the right solution:
sum(${adapterkind=VMWARE, resourcekind=Datastore, attribute=capacity|total_capacity, depth=2})
Thanks a lot,
jengl