Skip to content

David-Development/collectd-influxdb-grafana-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(Grafana + InfluxDB + Telegraf) / Docker

Schema

This repository shows how to use a docker to setup a local telegraf, influxdb, grafana stack.

You can use this repository to try collect system data, store it in influxdb and create graph chart in Grafana.

Installation

  • Clone this repository and run:
$ docker-compose up -d --build

Install on swarm cluster

  • Setup Swarm Cluster
docker stack deploy --with-registry-auth --compose-file docker-compose.yml cluster-monitor


# cleanup
docker stack rm cluster-monitor

## cleanup persistent files (run with sudo)
rm -r grafana-storage/*
rm -r influxdb-data/*

## if you don't have sudo access (use docker)
docker run -v $(pwd)/influxdb-data:/influxdb-data -v $(pwd)/grafana-storage:/grafana-storage ubuntu:16.04 /bin/bash -c "rm -rf /influxdb-data/* /grafana-storage/*"

About

influxdb and grafana by docker-compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 72.7%
  • Shell 27.3%