ajmdfeipan / python-vmstats

Python script using pyVmomi to get VM statistics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-vmstats

Python script using pyVmomi to get VM statistics

Command line version:

http://www.geeklee.co.uk/python-pyvmomi-get-vm-statistics-from-hypervisor/

Example output

The script requires the following parameters:

-s HOST, --host HOST : Remote host to connect to.

-u USER, --user USER : User name to use when connecting to host.

-p PASSWORD, --password PASSWORD : Password to use when connecting to host.

-m VM, --vm VM : Virtual Machine to report.

-i INT, --interval INT : Interval to average the vSphere stats over in minutes

The -p/--password is now optional and if not provided on the command line will prompt instead.

The web version:

http://www.geeklee.co.uk/web-python-pyvmomi-vm-statistics-hypervisor/

Example output

http://www.geeklee.co.uk/object-properties-containerview-pyvmomi/

About

Python script using pyVmomi to get VM statistics

License:MIT License


Languages

Language:Python 98.4%Language:HTML 1.6%