Quantcast
Channel: VMware Communities : Unanswered Discussions - vCenter™ Server
Viewing all articles
Browse latest Browse all 3506

vCenter Events filter using multiple entities

$
0
0

Hi,

 

I'm trying to fetch vCenter events using Java SDK. In my vCenter setup, I have a data center and a cluster. There are 'n' number of DVS switches under the data center. New DVS switches may also get created in future.

 

The requirement is to filter all events under the cluster and all events specific to the available DVS Switches.

 

We are using createCollectorForEvents method with EventFilterSpec object to filter the events. Is it possible to set multiple entities (Cluster entity or DVS Switches entities) to EventFilterSpec to filter out the events? Are there any other option available to achieve this?

 

Thanks,

Srini


Viewing all articles
Browse latest Browse all 3506

Trending Articles