Skip to content

An ability to gather ESXi Dump Collector #1106

Description

@dvolozhinok

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
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions