Web Perf & Monitoring(1) - 기본환경 & Grafana 설치
Web Perf & Monitoring(2) - InfluxDB 설치
Web Perf & Monitoring(3) - Grafana & InfluxDB Datasource 설정
Web Perf & Monitoring(4) - Telegraf 설치
Web Perf & Monitoring(5) - InfluxDB Database생성
Web Perf & Monitoring(6) - Grafana Host Dashboard 생성
Web Perf & Monitoring(7) - Grafana Jemter Dashboard 생성
Web Perf & Monitoring(8) - Jmeter JMX
OS : Ubuntu 18.0.4.3 Desktop
Grafana : grafana_6.4.1_amd64
InfluxDB : influxdb_1.1.1+dfsg1-4_amd64
Telegraf : telegraf_1.12.2-1_amd64
Jmeter : JMX apache-jmeter-5.1.1
1. 패키지 설치
sudo apt-get install telegraf -y sudo apt-get update && sudo apt-get install telegraf sudo servie telegraf start
|
2. 환경설정
cd /etc/telegraf/
|
cat telegraf.conf [global_tags] role = "grafana-server" [agent] interval = "1s" round_interval = true metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "0s" flush_interval = "5s" flush_jitter = "0s" precision = "" debug = false quiet = false logfile = "" hostname = "grafana-server" omit_hostname = false [[outputs.influxdb]] urls = ["http://10.0.2.15:8086"] database = "telegraf" precision = "s" retention_policy = "default" write_consistency = "any" timeout = "5s" username = "telegraf" password = "telegraf" [[inputs.cpu]] percpu = true totalcpu = true collect_cpu_time = false [[inputs.disk]] ignore_fs = ["tmpfs", "devtmpfs"] [[inputs.kernel]] [[inputs.mem]] [[inputs.net]] [[inputs.netstat]] [[inputs.system]] [[inputs.diskio]] [[inputs.processes]] |
3. 서비스 재시작
sudo service telegraf restart |
'Tech Story > Perf*Monitoring' 카테고리의 다른 글
Web Perf & Monitoring(6) - Grafana Host Dashboard 생성 (0) | 2019.10.07 |
---|---|
Web Perf & Monitoring(5) - InfluxDB Database생성 (0) | 2019.10.07 |
Web Perf & Monitoring(3) - Grafana & InfluxDB Datasource 설정 (0) | 2019.10.07 |
Web Perf & Monitoring(2) - InfluxDB 설치 (0) | 2019.10.07 |
Web Perf & Monitoring(1) - 기본 환경 & Grafana 설치 (0) | 2019.10.07 |