You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to find a way of filtering the VMs with " Installed,running,but not managed by VMWare. " from the output of -S runtime -s tools , when I found there's an undocumented option, --open_vm_tools_ok, that almost does that.
The option does not increment the counter for not ok VMs, but still gets the VM in the output. In my opinion, given that the output throws just VMs with problems and we called the script with --open_vm_tools_ok, those VMs should not be in the output.
To change the behavior, it would only require to move the referenced line of code just 6 lines, below the next else:
Hi,
I was trying to find a way of filtering the VMs with
" Installed,running,but not managed by VMWare. "
from the output of-S runtime -s tools
, when I found there's an undocumented option,--open_vm_tools_ok
, that almost does that.The option does not increment the counter for not ok VMs, but still gets the VM in the output. In my opinion, given that the output throws just VMs with problems and we called the script with
--open_vm_tools_ok
, those VMs should not be in the output.To change the behavior, it would only require to move the referenced line of code just 6 lines, below the next
else
:check_vmware_esx/modules/dc_runtime_info.pm
Line 511 in 37d222e
Thanks for checking it out!
The text was updated successfully, but these errors were encountered: