Page 1 of 1
box293_check_vmware / check_vmware_api => 'Used Reservation'
Posted: Tue Nov 13, 2018 12:15 am
by asharma1
Hi,
Any one kindly help me out to collect 'Used Reservation' of CPU & Memory of cluster with below vCenter API's
box293_check_vmware / check_vmware_api => 'Used Reservation'
Re: box293_check_vmware / check_vmware_api => 'Used Reservat
Posted: Tue Nov 13, 2018 5:46 pm
by Box293
I am the author of the plugin.
Currently the plugin does not have this capability however I've added it to my to-do list as a feature request.
Re: box293_check_vmware / check_vmware_api => 'Used Reservat
Posted: Wed Nov 14, 2018 4:45 am
by asharma1
Thanks for your quick response sir
I collected total reserved capacity some how like...
my $cluster_view = Vim::find_entity_views(view_type => 'ClusterComputeResource', filter => { name => "$cluster" }, properties => [ 'summary' ]);
# Total Reservation Capacities
my $effectiveCpu = $$cluster_view[0]->summary->effectiveCpu;
my $effectiveMemory = $$cluster_view[0]->summary->effectiveMemory;
If you don't mind. I really appreciate if you suggest me which views will give me the Used Reservation...
Re: box293_check_vmware / check_vmware_api => 'Used Reservat
Posted: Wed Nov 14, 2018 5:06 pm
by Box293
I don't know sorry, it will take research time which I don't have much of at the moment.