Extensions
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Auto-tag VMware Entities by Name | VMware (remote monitoring) extension

AK
Pro

Hello Folks,

We have enabled VMware extension in our organization. Below are the corresponding entity detection identifiers:

  • VMware vCenter → dt.entity.vmware:vcenter
  • VMware VM → dt.entity.vmware:virtualmachine
  • VMware Cluster → dt.entity.vmware:cluster
  • VMware Datacenter → dt.entity.vmware:datacenter
  • VMware Datastores → dt.entity.vmware:datastore
  • VMware Host → dt.entity.vmware:host
  • VMware Disks → dt.entity.vmware:disk

I would like to create automatic tags based on the entity names.

For instance, a datastore named "dtstore-1" should automatically receive the tag: datastore:dtstore-1.

I tried adding the rule: Apply '{CustomDevice:Name}' to Entities matching type("vmware:datastore")

But it resulted in a warning: Placeholders are not applicable for entity selector based rules.

Is there an alternative method to achieve this? Please guide.

Regards,
AK

1 REPLY 1

sujit_k_singh
Champion

Hi @AK 

For all Entity selector-based tagging rules, Dynatrace doesn't support placeholders, regardless of whether the matched entities are VMware entities, Custom Devices, Hosts, Services, or Process Groups.

I have used below method and it works perfectly

type("vmware:virtualmachine"),entityName.contains("prod-app")
type("vmware:vcenter"),entityName.contains("vc-prod")
type("vmware:host"),entityName.contains("esx-prod")
type("vmware:datacenter"),entityName.contains("primary")
type("vmware:datastore"),entityName.contains("gold-storage")
type("vmware:cluster"),entityName.contains("compute")
type("vmware:disk"),entityName.contains("data-disk")
 
sujit_k_singh_1-1785190906690.png

 

sujit_k_singh_0-1785189294816.png

Thanks,

Sujit

Dynatrace Professional Certified

Featured Posts