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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for rvtools_python-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd657173bbc51da193856bd58336ffaff88489c45e7e3de10b743c195f94309 |
|
MD5 | 93cdff86ad8ecc4207ec2fed3e26cadf |
|
BLAKE2b-256 | ae981966a76cd5c4b61d35548ff64f99970223c19074e06e918f16e5b7bd6820 |