pyvmomi icon indicating copy to clipboard operation
pyvmomi copied to clipboard

An ability to gather ESXi Dump Collector

Open dvolozhinok opened this issue 4 months ago • 0 comments

Is your feature request related to a problem? Please describe.

Hello dear pyVmomi developers!

There is Broadcom KB 344063 which allows to set or get ESXi Dump Collector with ESXCLI. I'm more interested in checking the ESXi Dump Collector status similar to esxcli system coredump network get

Describe the solution you'd like

I would like to know if it's possible to get ESXi Dump Collector via pyVmomi ? If this is not possible, please schedule the addition of such functionality.

Describe alternatives you've considered

It's also possible via VMware.PowerCLI PowerShell module in this way:

$null = Connect-VIServer -Server "$VC" -User "$User" -Password "$Pswd"
$vmh = Get-VMHost -Name "$EsxiName"

If ($vmh) {
    $e = Get-EsxCli -VMHost $vmh -V2

    If ($e) {
        $result = $e.system.coredump.network.get.Invoke() | ConvertTo-Json
        If ($result) {$result}
    }
}

Additional context

It would be great to have output similar to this:

{
  "Enabled": true,
  "HostVNic": "vmk0",
  "IsUsingIPv6": false,
  "NetworkServerIP": "10.221.109.10",
  "NetworkServerPort": 6500
}

dvolozhinok avatar Aug 12 '25 12:08 dvolozhinok