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
|
2 years ago | |
---|---|---|
docs | 2 years ago | |
grafana | 2 years ago | |
influxdb/config | 2 years ago | |
telegraf | 2 years ago | |
.env | 2 years ago | |
README.md | 2 years ago | |
docker-compose-telegraf-agent.yml | 2 years ago | |
docker-compose.yml | 2 years ago | |
get-docker-id.sh | 2 years ago |
README.md
Telegraf-influxDB-grafana
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
- AMD64:
- ARM64:
Services and Ports exemple
Grafana
- URL: http://localhost:3000
- User: admin
- Password: admin
Telegraf
- Port: 8125 UDP (StatsD input)
InfluxDB
- Port: 8086 (HTTP API)
- User: admin
- Password: admin
- Database: influx
To do:
- script install
- Prometheus + Alertmanager