Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fennm/pyVsphereInflux
A library and supporting script for pulling data from vSphere and inserting it into InfluxDB
https://github.com/fennm/pyVsphereInflux
Last synced: 6 days ago
JSON representation
A library and supporting script for pulling data from vSphere and inserting it into InfluxDB
- Host: GitHub
- URL: https://github.com/fennm/pyVsphereInflux
- Owner: fennm
- License: mit
- Created: 2015-06-28T00:41:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-01T15:03:18.000Z (over 8 years ago)
- Last Synced: 2024-08-02T07:11:22.999Z (3 months ago)
- Language: Python
- Size: 31.3 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-influxdb - pyVsphereInflux - A library and supporting script for pulling data from [vSphere](https://www.vmware.com/products/vsphere.html) and inserting it into InfluxDB (Collecting data into InfluxDB / Libraries)
README
# pyVsphereInflux
A library and supporting script for pulling data from vSphere and inserting it into InfluxDBExample usage:
vsphere-influxdb-import.py --vcenter myvcenter --vs-username Administrator \
--vs-password password \
--influx-dsn influxdb://root:root@localhost:8086/vms$ vsphere-influxdb-import.py -h
usage: vsphere-influxdb-import.py [-h] --vcenter VCENTER
[--vs-username VS_USERNAME]
[--vs-password VS_PASSWORD]
[--vs-port VS_PORT]
[--influx-dsn INFLUX_DSN] [--debug]collect metrics from vSphere and import into InfluxDB
optional arguments:
-h, --help show this help message and exit
--vcenter VCENTER vCenter to connect to
--vs-username VS_USERNAME
vSphere username
--vs-password VS_PASSWORD
vSphere password
--vs-port VS_PORT vSphere port
--influx-dsn INFLUX_DSN
InfluxDB DSN, eg.
influxdb://root:root@localhost:8086/database
--debug, -d enable debugging## Developing
$ virtualenv ve
$ . ve/bin/activate
$ pip install -r requirements.txt
$ python setup.py develop