Page 2 of 2

Re: box293_check_vmware plugin issue with Cluster HA Status

Posted: Wed Jul 10, 2019 7:58 am
by ghugon
Alright so I went through the code aswell and managed to fix the error by adding

Code: Select all

$cluster_ha_config_admission_control_policy_key eq 'resourceReductionToToleratePercent'
to line 1852 because it's about the number of hosts and not about specific hosts.

Code: Select all

if ($cluster_ha_config_admission_control_policy_key eq 'failoverLevel' || $cluster_ha_config_admission_control_policy_key eq 'resourceReductionToToleratePercent') {
You were pretty close!
Thanks a lot for your help.

Re: box293_check_vmware plugin issue with Cluster HA Status

Posted: Wed Jul 10, 2019 10:01 am
by cdienger
Excellent!