vmware / vmware/pyvmomi

An ability to gather ESXi Dump Collector

Open
#1,106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
2.3k
Forks
763
PR merge metrics
No merged PRs in 30d

Description

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
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating pyVmomi's ESXi management entry points and checking whether the esxcli system coredump network get operation is already represented. Compare its available response with the requested fields, then verify the exposed status through an appropriate test or example; done means callers can retrieve the dump collector status and its network details.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.