Skip to content

Docker Image with Telegraf, InfluxDB and Grafana with DataCore SANsymphony's dashboard & REST script included

License

Notifications You must be signed in to change notification settings

lblanc/grafana-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Image with Telegraf, InfluxDB and Grafana with dashboard & REST script included for DataCore SANsymphony

License

Goal is to have grafana, influxdb and python script running to grab DataCore SANsymphony REST API performances

Prerequisites

In order to use this container, you must have the following in place already:

  • DataCore SANsymphony 10.0 PSP9 or later
  • DataCore REST Server 2.01 or later

Quick Start

To start the container the first time launch this by replacing -e variables:

  • DCSSVR -> DataCore Server (IP or hostname)
  • DCSREST -> DataCore Rest API Server(IP or hostname)
  • DCSUNAME -> DataCore User name
  • DCSPWORD -> DataCore user password
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' \
  lblanc/grafana-integration: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
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 VSPHERE_USER='administrator@vsphere.local' \
  -e VSPHERE_PASS='password' \
  -e VSPHERE_VCENTER='X.X.X.X' \
  lblanc/grafana-integration:latest

To stop the container launch:

docker stop grafana-datacore

To start the container again launch:

docker start grafana-datacore

Persistent data

You can optionaly add volume option to store Grafana configuration and influxdb files Example:

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 \
  -v my-volume:/data \
  -e DCSSVR='X.X.X.X' \
  -e DCSREST='X.X.X.X' \
  -e DCSUNAME='administrator' \
  -e DCSPWORD='password' \
  -e VSPHERE_USER='administrator@vsphere.local' \
  -e VSPHERE_PASS='password' \
  -e VSPHERE_VCENTER='X.X.X.X' \
  lblanc/grafana-integration:latest

Mapped Ports

Host		Container		Service

3000		3000			grafana
8888		8888			chronograf
8086		8086			influxdb
8125		8125			statsd
22022		22        sshd

SSH

ssh root@localhost -p 22022

Password: root

Grafana

Open http://localhost:3000

Username: grafana
Password: grafana

About

Docker Image with Telegraf, InfluxDB and Grafana with DataCore SANsymphony's dashboard & REST script included

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published