[다운로드 경로]

https://portal.influxdata.com/downloads/

 

Downloads

Telegraf open source data collector Telegraf is a plugin-driven server agent for collecting and sending metrics and events from databases, systems, and IoT sensors. Telegraf is written in Go and compiles into a single binary with no external dependencies,

portal.influxdata.com

 

[Ubuntu]

wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.6-amd64.deb
sudo dpkg -i influxdb2-2.0.6-amd64.deb

 

[Centos]

wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.0.6.x86_64.rpm
sudo yum localinstall influxdb2-2.0.6.x86_64.rpm

 

[Docker] Grafana, Telegraf, Influxdb 이미지 설치

참고 : https://github.com/samuelebistoletti/docker-statsd-influxdb-grafana

sudo docker pull philhawthorne/docker-influxdb-grafana

sudo docker run -d \
  --name docker-influxdb-grafana \
  -p 3003:3003 \
  -p 3004:8083 \
  -p 8086:8086 \
  -v /path/for/influxdb:/var/lib/influxdb \
  -v /path/for/grafana:/var/lib/grafana \
  philhawthorne/docker-influxdb-grafana:latest
  
sudo docker exec -it <CONTAINER_ID> bash  

Host Container Service
3003 3003 grafana
3004 8888 influxdb-admin (chronograf)
8086 8086 influxdb
8125 8125 statsd

# Grafana
Open http://localhost:3003
Username: root
Password: root

# Add data source on Grafana
Url: http://localhost:8086
Database: telegraf
User: telegraf
Password: telegraf

# InfluxDB
Open http://localhost:3004
Username: root
Password: root
Port: 8086

  
  

 

 

 

 

 

+ Recent posts