Andy Cobaugh
dac91ccd2d
Use url.UserPassword() so passwords are escaped ( #101 )
...
* add Dockerfile
* dockerfile: switch to multi-stage build to lighten up the final image
* dockerfile: update to latest images, and update the 2nd stage image on build
* Use url.UserPassword() so passwords are escaped
2020-04-01 14:15:04 +02:00
Adrian Todorov
9094700d21
rollback vDisk parsing for now
2018-09-16 15:39:38 +02:00
MicKBfr
e9bccef96d
Update vsphere-influxdb.go
2018-09-13 17:02:26 +02:00
Adrian Todorov
639ef28ecf
Merge pull request #72 from MicKBfr/MicKBfr-patch-1
...
Remove domain from esx name
2018-09-03 22:07:41 +02:00
Brian Krische
a32178917a
Compute usage percentage of datastore.
2018-06-25 07:39:38 -05:00
MicKBfr
3ddb5a30da
patch to made RemoveHostDomainName optional
2018-04-12 17:45:57 +02:00
MicKBfr
3eb0f579a9
Update vsphere-influxdb.go
2018-04-12 17:36:51 +02:00
MicKBfr
39330e4d31
Remove domain from esx name
...
Domain in esx name can be a problem with influxgraph and grafana.
2018-04-06 09:40:32 +02:00
Adrian Todorov
3f8a36f0cf
virtual disk to datastore mapping
2018-03-31 15:15:52 +00:00
Adrian Todorov
d04a66083b
fix copyright notice year
2018-03-31 15:03:58 +00:00
Adrian Todorov
2656627e47
cleanup
2018-02-03 21:29:32 +01:00
Adrian Todorov
cc748fd2ae
print PerformanceManager HistoricalInterval metric collection level if -debug is present
2018-02-03 21:27:12 +01:00
Adrian Todorov
a2b027825c
print version if -debug is present
2018-02-03 21:22:10 +01:00
Adrian Todorov
b2da326242
fix version print to fmt.Println instead of stdlog.Println
2018-02-03 19:45:35 +01:00
Adrian Todorov
72f628354b
bugfix
2018-01-07 16:17:37 +01:00
Adrian Todorov
076f633377
add a version flag
2018-01-07 16:08:06 +01:00
Adrian Todorov
59e2e1d2df
bugfix
2018-01-07 15:47:30 +01:00
Adrian Todorov
a461957082
add a -test flag and test mode to output the data collected from vCenter and not send it to Influx
2018-01-07 15:39:49 +01:00
Adrian Todorov
bf09836f04
Add a default "" value for InfluxDB prefix for retrocompatibility post PR #53
2018-01-07 15:11:32 +01:00
Artashes Arabajyan
ba0b81c0ef
go fmt
2018-01-04 12:25:10 +01:00
Artashes Arabajyan
8b519e50c8
The tool was not able to gather info from the datacenters in nested folders under the root folder - fixed, added config parameter to specify prefix for measurement, cleaned up logging formatting
2018-01-03 21:06:41 +01:00
Adrian Todorov
942b49d61e
fix crash on VM cloning
2017-12-10 17:22:33 +01:00
Adrian Todorov
3fe6b1fc22
more bugfixes
2017-11-27 14:56:40 +01:00
Adrian Todorov
01483a5b97
general cleanup; extra checks to avoid segfaults; channels and goroutines for concurrency
2017-11-26 11:32:11 +01:00
Adrian Todorov
65b5bd801f
add check to skip clones in progress
2017-11-26 10:50:56 +01:00
Adrian Todorov
9508bf0dae
check if there are clusters before retrieving configuration; don't get respool config twice
2017-11-12 15:37:04 +01:00
Alain Dejoux
bf8af7c890
adding host to datastore tags
2017-09-11 14:52:40 +02:00
Mike Liebsch
7c4478c435
InfluxDB and vSphere can be configured using environemt variables
2017-09-07 11:13:54 +02:00
Mike Liebsch
ff4a561165
fixed indentation
2017-09-07 10:54:03 +02:00
Mark Seidenstricker
ce1d72055f
add datastore capacity and free
2017-09-01 10:36:42 -05:00
Michael Rosile
1fb821f661
Added additional debug for "mors"
2017-08-23 21:02:39 -04:00
Michael Rosile
911271defd
Altered VM to Cluster mapping and added Host to Cluster mapping
2017-08-23 20:59:31 -04:00
Adrian Todorov
c154ed0de6
Merge pull request #22 from adongy/master
...
Fix variable names
2017-06-02 10:33:53 +02:00
Anthony Dong
fe2f80850a
Fix average returning 1
2017-05-24 16:24:59 +02:00
ADO
160647fca0
Fix variable names
2017-05-24 14:49:55 +02:00
ADO
eba6b58ffc
Fix respool* casing
2017-05-24 14:43:35 +02:00
ADO
9794d33b2f
Linting
2017-05-24 14:31:25 +02:00
ADO
8ec656f71a
Don't try to send potentially corrupted data
2017-05-24 14:27:17 +02:00
ADO
6e2170f337
Fail early
2017-05-24 14:27:17 +02:00
ADO
f4a61c416c
Println takes variadic arguments
2017-05-24 14:27:17 +02:00
ADO
d8f101eded
Linting fixes
2017-05-24 14:27:17 +02:00
ADO
eef2388bde
Remove unused variables
2017-05-24 14:27:17 +02:00
ADO
d2347f1726
Merge all external imports
2017-05-24 14:27:17 +02:00
ADO
89c2447453
Use tabs in copyright header
2017-05-24 14:27:17 +02:00
Hela Drira
8b34784692
merge
2017-05-17 14:04:03 +02:00
Hela Drira
0f3e01a23b
"ResourcePool enable with cpu and memory Usage per Resoucepool
2017-05-08 16:16:30 +02:00
Hela Drira
893e1fead9
"Final Version with ResourcePool"
2017-05-08 09:25:03 +02:00
Hela Drira
84d9145c93
test3
2017-05-04 18:00:32 +02:00
Hela Drira
86b401fae0
test 2
2017-05-04 17:55:47 +02:00
Hela Drira
b16cc794ca
test
2017-05-04 17:52:45 +02:00