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

Auto Tagging for VMWARE Hosts

sundarv1
Organizer

How to create Automatic TAG for VMWARE hosts?. we want to create an automatic tag so that we can use that for reporting.,

5 REPLIES 5

Peter_Youssef
Champion

Hello @sundarv1 

You can create automatically applied tags

2024-10-19_19h33_04.png

2024-10-19_19h34_00.png

2024-10-19_19h35_30.png

2024-10-19_19h37_13.png

Then preview and save. > the monitored entities will be tagged automatically.

KR,

Peter

Hi Peter

we have used VMWARE Remote Monitoring extensions V3.5.1 to configure VMWARE. Above Tagging method is not working. I tried with ESXI Hostname and ESXI Host Cluster name.

 

Hi @sundarv1 

Thanks for your input, the attached method works well for OA deployments scenarios.

In case you're using AG Extension you can refer to the detailed steps provided by @MostafaHussein 

Best of luck.

BR,

Peter

Hello @sundarv1 ,

you can use entity selector for this, but there's 2 points you must take in consideration as the following:

1. the entity type:

simply navigate to `settings > topology model > generic types` and search for `vmware` you'll find multiple entities as the below figure, just expand any of them you'll find the entity type for example i'll choose `vmware host` and it's type is `vmware:host` as mentioned under `type name` (see the 2nd figure)

MostafaHussein_0-1729411216104.png

MostafaHussein_1-1729411582476.png

2. the entity relationship name

if you want to make it more accurate, use API endpoint `/api/v2/entities/{entityId}` and you'll need then api token with permission of `entities.read` then back to step no. 1 and click on preview in tagging then select one of shown items and use its entityId to show what's the available relationships as the following figure, you can use it as `type(vmware:host),fromRelationships.runsOn(type(vmware:host),entityId('HOST-xxxx'))` this is just example but when you explore exists relationships you'll be able to define the right relationship to use and its entityType in this way.

MostafaHussein_2-1729412096884.png

if you don't has access to api you can simple navigate to `settings > topology model > generic relationships` and search for `vmware:virtualmachine` as the following figure just expand the right relationship for example with a host, then scroll down to find the destination you'll find the relationship type and the destination type name then use it in your entitySelector query

MostafaHussein_0-1729412934274.png

MostafaHussein_1-1729412959033.png

 

Certified Dynatrace Professional | Certified Dynatrace Services - Observability | Dynatrace Partner yourcompass.ca

We are using vmware 3.5.1. I don't have access to API and don't see above screen vmware:virtualmachine` as the following figure just expand the right relationship for example with a host in the settings screen

Featured Posts