-
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) 참고 (cb-apigw 테스트 완료한 api)
- 에이전트 vm에서 git clone https://github.com/cloud-barista/cb-dragonfly.git 후, 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