Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Hela Drira committed May 17, 2017
2 parents 0f3e01a + 296f9eb commit 8b34784
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 76 deletions.
13 changes: 13 additions & 0 deletions .gitignore
@@ -0,0 +1,13 @@
### Basic ignore file

# Binaries for programs and plugins
vsphere-influxdb

# Test binary, build with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Configuration file
vsphere-influxdb.json
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -25,7 +25,7 @@ go get github.com/oxalide/vsphere-influxdb-go
This will install the project in your $GOBIN($GOPATH/bin). If you have appended $GOBIN to your $PATH, you will be able to call it directly. Otherwise, you'll have to call it with its full path.
Example:
```
vsphere-influxdb-go
vsphere-influxdb-go
```
or :
```
Expand All @@ -45,9 +45,9 @@ To see all available metrics, check out [this](http://www.virten.net/2015/05/vsp
Note: Not all metrics are available directly, you might need to change your metric collection level.
A table with the level needed for each metric is availble [here](http://www.virten.net/2015/05/which-performance-counters-are-available-in-each-statistic-level/), and you can find a PowerCLI script that changes the collect level [here](http://www.valcolabs.com/2012/02/06/modify-historical-statistics-level-using-powercli/)

An example of configuration file is [here](./vsphere-influxdb-go.json).
An example of configuration file is [here](./vsphere-influxdb.json.sample).

You need to place it at /etc/*binaryname*.json (/etc/vsphere-influxdb-go.json by default)
You need to place it at /etc/*binaryname*.json (/etc/vsphere-influxdb.json by default) or you can specify a different location using the config flag.


# Run as a service
Expand Down

0 comments on commit 8b34784

Please sign in to comment.