This post is more than 5 years old

22 Posts

136352

August 22nd, 2012 15:00

custom attributes rule from velocity

I am using vfoglight 6.6.1 with velocity_with_ip cartridge.  I copied and edit the custom attributes service rule and let it run every 5 minutes.  I can see the data from the service builder; however, when I check the CustomAttributes property inside VMWvirtualMachine, I don't find the custom attribute that I wished to grab from vCenter.

It was working fine in vfoglight 6.6 and the cartridge was able to create that property in the VMware -> VirtualMachines data model.  I have a query that returns a list of virtual machines based on the resource pool name, and I want to create a groovy script to check the custom attributes of those VMs returned from that query.  The script won't run because it couldn;t find the custom attribute.

22 Posts

August 22nd, 2012 20:00

Never mind, it turned out that the custom attribute is inserted to the data model only if there is data

No Events found!

Top