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

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)

Hi,

Can you check properties in the HYPERVISOR-xxxxxxx entity?

Best regards

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

If you recently set up the extension or added an new ESXi Host, it can take a couple of minutes until the actual entity and it’s properties are created and available.