Skip to main content

RvTools Analysis Tool

Project description

RvCrunch- RVTools reporter

RvCrunch is a simple CLI tool that provides a report with relevant information from a RvTools export. The main function is to save an Excel report with this information.

The report includes a 'Agg Cap' figure which uses the vPartitions tab to calculate a more accurate used capacity figure. Where VMs are missing because they are powered off or VMware tools is not working, the allocated capacity will be shown in that column.

RvCrunch relies on the excellent work done by Rob de Veij of RvTools fame.

There are also mini reports that provide quick reports on key information from the RvTools report.

The tool accepts RvTools files in excel format (.xlsx), vInfo and vParition tabs are required.

Installation

You can install RvCrunch from PyPi via:

pip install rvcrunch

Usage

Run the tool via the commandline via:

rvcrunch [OPTIONS] path

Specifying the file path as the first arguement will run the main Excel "Crunch" report.

rvcrunch "C:\path\to\rvtools\rvtools.xlsx"

-po or --poweredon modifies the report to display only Powered On virtual machine info.

-sn or --savename allows you to specify the exported file name, otherwise the default 'report.xlsx' will be used.

-sr or --skipreport stops the main report being exported to excel, this can be used with the mini reports below.

There are also several mini reports that provide certain key info, these are shown in the command line.

-vm : Provides the total VM count by Powered-On and Off

-dc : Provides the Datacenter names

-cl : Provides the Cluster names

-dc_cl : Groups the clusters by the Datacenter and provides vm, disk and vInfo capacity breakdowns.

-rdm : Checks if report has RDMs and optionally exports to Excel. The vDisk tab is required for this to work.

These can be run alongside the main report or instead. To prevent the main report being run when using mini reports use the -sr flag.

Example: rvcrunch -sr -vm "C:\path\to\rvtools\rvtools.xlsx"

Note: RDM report is allocated capacity, mapping the disks in vDisk to the paritions in vPartition isn't precise enough to be practical.

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

rvcrunch-1.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

rvcrunch-1.1.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file rvcrunch-1.1.0.tar.gz.

File metadata

  • Download URL: rvcrunch-1.1.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for rvcrunch-1.1.0.tar.gz
Algorithm Hash digest
SHA256 93bdb5bf06c5c052b35e65e8cfa3ffb3097e0bdf67137444a2b7e49b2e71d61c
MD5 6521394e1c2510f65a08c28d141538fa
BLAKE2b-256 0aef0f37f20947e440475452ebff8f9934f06e68f56cbe29406eb93c4877e7a6

See more details on using hashes here.

File details

Details for the file rvcrunch-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: rvcrunch-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.23.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for rvcrunch-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b2f88f9d7a250eb96796e81bd31f35232e00aa11f6adc60f1d2e88d139317ae
MD5 100e12b26218f057dadd08dd314966fb
BLAKE2b-256 4bfb8cd01bbd38aa56f8002fe0e53fc0b0a55f63462179be24fed378d5184cbb

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