Server monitoring with TIG
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
greglebreton 2e4b5c3736 add logo tig 1 year ago
docs add logo tig 1 year ago
grafana ajout docker plugin for telegraf 2 years ago
influxdb/config credentials between telegraf and influxdb OK 2 years ago
telegraf Mise à jour de 'telegraf/telegraf.conf' 2 years ago
.env add .env, c'est mieux 2 years ago
README.md add logo tig 1 year ago
docker-compose-telegraf-agent.yml maj light version 1 year ago
docker-compose.yml maj light version 1 year ago
get-docker-id.sh ajout docker plugin for telegraf 2 years ago

README.md

Telegraf-influxDB-grafana

LOGO

Config

  • Grafana: grafana/provisioning/datasources/influxdb.yml (password for influxdb)
  • InfluxDB: influxdb/config/influxdb.conf
  • Telegraf: telegraf/telegraf.conf (line 63 + 74 & 75)

Usage

Main monitor

  • get docker UID for telegraf (agent only)
./get-docker-id.sh
  • credentials
nano .env
  • start stack
docker-compose up -d
  • see logs
docker-compose logs -f

Agent

  • config agent
nano .env
mv docker-compose-telegraf-agent.yml docker-compose.yml
  • start agent
docker-compose up -d

Dashboards

Services and Ports exemple

Grafana

Telegraf

  • Port: 8125 UDP (StatsD input)

InfluxDB

  • Port: 8086 (HTTP API)
  • User: admin
  • Password: admin
  • Database: influx

To do:

  • script install
  • Prometheus + Alertmanager