forked from lblanc/grafana-integration
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
236 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
## Docker Image with Telegraf, InfluxDB and Grafana with dashboard & REST script included for [DataCore SANsymphony](http://www.datacore.com) | ||
|
||
|
||
[](https://hub.docker.com/r/lblanc/docker-influxdb-grafana-datacore/builds/) | ||
|
||
[](http://octopress.mit-license.org) | ||
|
||
|
||
|
@@ -28,9 +30,34 @@ docker run --ulimit nofile=66000:66000 \ | |
-e "DCSREST=X.X.X.X" \ | ||
-e "DCSUNAME=administrator" \ | ||
-e "DCSPWORD=password" \ | ||
lblanc/grafana-integration | ||
lblanc/docker-influxdb-grafana-datacore:latest | ||
``` | ||
|
||
If you want to monitor also vSphere you can add this variables: | ||
* VSPHERE_USER -> vSphere user | ||
* VSPHERE_PASS -> vSphere password | ||
* VSPHERE_VCENTER -> vSphere vCenter (IP or hostname) | ||
* VSPHERE_DOM -> vSphere domain | ||
|
||
```sh | ||
docker run --ulimit nofile=66000:66000 \ | ||
-d \ | ||
--name grafana-datacore \ | ||
-p 3000:3000 \ | ||
-p 8888:8888 \ | ||
-p 8086:8086 \ | ||
-p 22022:22 \ | ||
-p 8125:8125/udp \ | ||
-e "DCSSVR=X.X.X.X" \ | ||
-e "DCSREST=X.X.X.X" \ | ||
-e "DCSUNAME=administrator" \ | ||
-e "DCSPWORD=password" \ | ||
-e "[email protected]" \ | ||
-e "VSPHERE_PASS=password" \ | ||
-e "VSPHERE_VCENTER=X.X.X.X" \ | ||
-e "VSPHERE_DOM=local" \ | ||
lblanc/docker-influxdb-grafana-datacore:latest | ||
``` | ||
If you have special characters in the password, do not forget the escapement '\' before (ex: "password!" will be "password\\!") | ||
|
||
To stop the container launch: | ||
```sh | ||
|
@@ -61,7 +88,11 @@ docker run --ulimit nofile=66000:66000 \ | |
-e "DCSREST=X.X.X.X" \ | ||
-e "DCSUNAME=administrator" \ | ||
-e "DCSPWORD=password" \ | ||
lblanc/grafana-integration | ||
-e "[email protected]" \ | ||
-e "VSPHERE_PASS=password" \ | ||
-e "VSPHERE_VCENTER=X.X.X.X" \ | ||
-e "VSPHERE_DOM=local" \ | ||
lblanc/docker-influxdb-grafana-datacore:latest | ||
``` | ||
|
||
|
||
|
@@ -93,4 +124,4 @@ Open <http://localhost:3000> | |
``` | ||
Username: grafana | ||
Password: grafana | ||
``` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters