Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get the ESXi Host name form the impacted HYPERVISOR ID (HYPERVISOR-xxxxxxx) ??

Doaa_Sobhy
Helper

Hi,

A resource problem has been captured: I/O commands queued for an ESXi host, and in the problem's detail there's no mention for the ESXi host name, there's only the impacted: HYPERVISOR ID (HYPERVISOR-xxxxxxx)

I used (Monitored Entities API v2), but it gave me:

404: unable to find entity with id HYPERVISOR-xxxxxxx

 

How can I find the ESXi host name from the given impacted entity: HYPERVISOR ID (HYPERVISOR-xxxxxxx)

Doaa Sobhy
2 REPLIES 2

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Can you check properties in the HYPERVISOR-xxxxxxx entity?

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

sujit_k_singh
Advisor

Hello @Doaa_Sobhy 

Apart from the suggestion by @AntonPineiro, you can try two more options 

1. Use the Entities API v2 with an explicit timeframe around the problem window and include fields like displayName .
2. Use the Problems API to retrieve impacted entities along with their displayName. Take the startTime and endTime from the problem details and query accordingly. If affectedEntities includes the hypervisor’s display name, you’re done.

Thanks,

Sujit

Dynatrace Professional Certified

Featured Posts