VMware Cloud Community
chakoe
Enthusiast
Enthusiast

Help please: Build custom groups based on Vcenter Custom Attribute ( VM )

 

Hi all,

I´m using Vcenter 6.7.x and vRops 8.3.0 .

Inside Vcenter, we have a CustomAttribute ( Type VirtualMachine , Name VMInfo )

When i check one of our VMs in vROPS ( Properties > Summary > Custom Tag > VMInfo > Value ) everything is fine.

But when i wanted to build a custom group for VMs based on this Custom Tag, i cannot choose the Tag VMInfo.

Acutally, the group type is "Service Level Objective" , Membership Criteria is based in Virtual Machine

 

Where´s my mistake ?

 

Thank you in advance...

 

0 Kudos
3 Replies
lannguyen
VMware Employee
VMware Employee

Assuming that your vSphere Tag has the word vminfo in it.  Are you need to do is set it to filter to contains vminfo.  See below screenshot

lannguyen_0-1624461719712.png

 

Personal blog VMignite.com
0 Kudos
chakoe
Enthusiast
Enthusiast

 

Hi & good Morning , 

 

that´s the Problem 🙂 

 

Here´s my example-Output from PowerCLI:

PS C:\WINDOWS\system32> Get-CustomAttribute| ft -AutoSize

Key Name TargetType
--- ---- ----------
43 AutoDeploy.MachineIdentity VMHost
201 Installation.StatusCode VMHost
202 Installation.StatusDescription VMHost
203 Installation.StatusTimeStamp VMHost
101 MgmtNetwork Cluster
102 Standort Cluster
301 VMInfo VirtualMachine
103 Verfuegbarkeitslevel Cluster
1 com.vmware.vcIntegrity.customField.scheduledTask.action
2 com.vmware.vcIntegrity.customField.scheduledTask.signature
3 com.vmware.vcIntegrity.customField.scheduledTask.target

PS C:\WINDOWS\system32> $a= get-vm VM34887
PS C:\WINDOWS\system32> $a.CustomFields

Key Value
--- -----
VMInfo WebServer

Navigating through the VM in vrops ( Properties , Summary , Custom Tag , VMinfo ) works fine. But when i try to build the custom group, i cannot choose the Tag vminfo...

 

 

0 Kudos
lannguyen
VMware Employee
VMware Employee

So you did this using scripts.  Tagging in vCenter works better as it is easier to manage from vCenter and it will show up in vROPS. I don't do script tagging so can't help you here

Personal blog VMignite.com
0 Kudos