-
Notifications
You must be signed in to change notification settings - Fork 11
agent manual installation
hyokyungk edited this page Oct 6, 2021
·
7 revisions
- rest api, cb-apigw api ํ ์คํธ ์๋ฃ
- (DF Only) cb-operator ๊ตฌ๋ ํ ์คํธ ์๋ฃ
- Helm ๋ฐฐํฌ ํ ์คํธ ์๋ฃ
-
vim /etc/hosts (์๋ ๋ด์ฉ ์ถ๊ฐ) {{server IP}} cb-dragonfly-kafka cb-dragonfly-influxdb cb-dragonfly-kapacitor
-
${HOME}/cb-dragonfly/conf/config.yaml ๋ด์ฉ ์์
kafka: endpoint_url: cb-dragonfly-kafka kafka_ip: {{server IP}} # Cloud-Barista๋ฅผ ์ค์น ๋ฐ ์คํํ๋ VM/๋ฌผ๋ฆฌ๋จธ์ ์ Public IP ์ฃผ์๋ฅผ ๊ธฐ์ฌ helm_port: 32000 collectManager: collector_ip: {{server IP}} # Cloud-Barista๋ฅผ ์ค์น ๋ฐ ์คํํ๋ VM/๋ฌผ๋ฆฌ๋จธ์ ์ Public IP ์ฃผ์๋ฅผ ๊ธฐ์ฌ
-
${HOME}/cb-dragonfly ๋๋ ํ ๋ฆฌ์์ make compose-up
DF REST API ๊ฐ์ด๋: CB-Dragonfly API (v0.4.3) ์ฐธ๊ณ
๋ค์๊ณผ ๊ฐ์ 3๊ฐ์ ํ์ผ ํ์ (์ค์น deb ํ์ผ, mcis ์คํฌ๋ฆฝํธ ํ์ผ, telegraf.conf ํ์ผ)
- ์์ด์ ํธ vm์์ git clone https://github.com/cloud-barista/cb-dragonfly.git / v0.4.3 ํํฌ Checkout ํ, 3๊ฐ์ ํ์ผ ์ถ์ถ
- ${HOME}/cb-dragonfly/file/pkg/ubuntu/x64/telegraf_1.16.0~dbceb930-0_amd64.deb
- ${HOME}/cb-dragonfly/file/install_mcis_script.sh
- ${HOME}/cb-dragonfly/file/conf/telegraf.conf
- dpkg -i telegraf_1.16.0~dbceb930-0_amd64.deb
- chmod +x install_mcis_script.sh & ./install_mcis_script.sh
- mv telegraf.conf /etc/telegraf
- echo "{{server IP}} cb-dragonfly-kafka" >> /etc/hosts
[global_tags]
# dc = "us-east-1" # will tag all metrics with dc=us-east-1
# rack = "1a"
## Environment variables can be used as tags, and throughout the config file
# user = "$USER"
nsId = "test_ns"
mcisId = "test_mcis"
vmId = "test_vm"
osType = "linux"
cspType = "aws"
mechanism = "push"
...
[[outputs.kafka]]
## URLs of kafka brokers
brokers = ["cb-dragonfly-kafka:9092"]
## Kafka topic for producer messages
topic = "test_ns_test_mcis_test_vm_aws"
data_format = "json"
- Overview
- Supported-Metrics
- Install & Start Guide
- Feature & Usage
-
User Interface
- Window Monitoring Agent Installer(until Cappuccino)
- CLI Tool Guide
- REST API Guide
- GRPC API Guide
- Design
- Roadmap
- Developer Guide
- Test Reports
- History
- Issue