Skip to main content

Simple app to collect information from vSphere

Project description

rvtools python

Application to be executed on Linux and collect all information from vCenter

The idea is to be a similar application as RVTools [1] the main difference is, the application from website was designed to be executed only on MS platform, this version will be written in python 3.x so will be possible execute on Linux environment.

About the final result, the idea is generate one similar output CSV files.

The point here is not about COPY but just improve the Python skill and use the project [1] as reference once this one is a fantastic product !!!

Thank you and feel free to request Features / Enhancements.

Ps.: Necessary python 3.6 or greather. Improving the code to be supported by 2.7 as well

How to use??

First, install the python module

$ pip install rvtools-python

Now it's time to execute it.

$ rvtools

On the first run, will be created the file ~/.rvtools.conf

vcenter=<fqdn>
username=<vcenter username>
password=<password>
directory=<directory>

You can just update the information on the file to be seamless and generate all reports without ask you the password again or you are able to pass the information all the time as parameter

$ rvtools --help
usage: rvtools [-h] [-s HOST] [-u USERNAME] [-p PASSWORD] [-d DIRECTORY]
               [-v VERBOSE]

RVTools Python parameters

optional arguments:
  -h, --help            show this help message and exit
  -s HOST, --host HOST  vCenter server to connect to
  -u USERNAME, --username USERNAME
                        vCenter username
  -p PASSWORD, --password PASSWORD
                        vCenter username password
  -d DIRECTORY, --directory DIRECTORY
                        Directory where will be saved all csv files. Should be
                        empty
  -v VERBOSE, --verbose VERBOSE
                        Show additional info.
$

The result will be the csv file created on the directory defined on the conf file by directory=<directory> or via CLI by -d DIRECTORY.

vinfo.csv
...

Hope you enjoy it. Still working to improve/add all features. Feel free to send your feedback or just submit the new Issue here.

Best Waldirio

[1]. https://www.robware.net/rvtools/

Project details


Download files

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

Source Distribution

rvtools_python-1.0.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

rvtools_python-1.0.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file rvtools_python-1.0.0.tar.gz.

File metadata

  • Download URL: rvtools_python-1.0.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.13

File hashes

Hashes for rvtools_python-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a71764a0c614121f40cce58c79f184afabb4fe2a15d7cdde0f67f710e6e49287
MD5 ed42cac89abd5f982fc9aece27d0e468
BLAKE2b-256 b97c41e9e7fef84ee88aa1f02d0912901bb1ade5304b4ab70fd8ac1fddc409f0

See more details on using hashes here.

File details

Details for the file rvtools_python-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rvtools_python-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acd657173bbc51da193856bd58336ffaff88489c45e7e3de10b743c195f94309
MD5 93cdff86ad8ecc4207ec2fed3e26cadf
BLAKE2b-256 ae981966a76cd5c4b61d35548ff64f99970223c19074e06e918f16e5b7bd6820

See more details on using hashes here.

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