Skip to main content

Extract data easily from your VMWare clusters.

Project description

VMWare-reporter

Extract data easily from your VMWare clusters.

Installation

VMWare-reporter package is published on PyPI:

pip install vmware-reporter

Configuration

Create file C:\Users\$USER\AppData\Local\vmware-reporter\vmware-reporter.conf (/home/$USER/.config/vmware-reporter/vmware-reporter.conf on Linux). Example:

[vmware-reporter]
host = myvcenter.example.org
user = reporter@vsphere.local
password = ...
no_ssl_verify = True

Usage examples

See also full documentation (including API reference).

VMWare-reporter may be used as a library in your Python code:

from vmware_reporter.client import VCenterClient
with VCenterClient() as vcenter:
    for vm in vcenter.iterate_objs('vm'):
        print(vm.name)

VMWare-reporter may also be invoked as a command-line application (the vmware-reporter executable is installed with the package). Examples:

  • Export inventory of VMWare managed objects to a YAML file:
vmware-reporter inventory
  • Export all available information about VMWare managed objects to JSON files:
vmware-reporter dump

Complete help about command-line usage may be displayed by typing:

vmware-reporter --help

Credits

This library leverages pyvmomi, the vSphere API Python bindings provided by VMWare.

Legal

This project is licensed under the terms of the MIT license.

This project is not affiliated in any way with VMWare or Broadcom.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

vmware_reporter-0.2.0-py3-none-any.whl (30.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page