-
Notifications
You must be signed in to change notification settings - Fork 49
AnyCall Usecase ‐ AWS CPU Monitoring
ByoungSeob Kim edited this page Jun 20, 2025
·
2 revisions
- CB-Spider 통해서 VM 생성
-
VM 생성 후 최소 5분 정도 지난 후에
-
다음처럼 AnyCall API를 이용한 모니터링 정보 요청
- VM 생성시 사용한
ConnectionName
과 - 생성된 VM의
CSP Id
를 이용한vmId
-Value
설정
watch -n 1 'curl -sX POST http://localhost:1024/spider/anycall -H "Content-Type: application/json" -d '\''{ "ConnectionName" : "aws-config01", "ReqInfo" : { "FID" : "fetchMonitoringData", "IKeyValueList" : [{"Key":"vmId", "Value":"i-0c5f1aa1b6df4c771"}] } }'\'' | json_pp'
- 제공 결과 예시
Every 1.0s: curl -sX POST http://localhost:1024/spider/anycall -H "Content-Type: application/json" -d '{ powerkim2023: Fri Jun 20 13:41:03 2025 { "FID" : "fetchMonitoringData", "IKeyValueList" : [ { "Key" : "vmId", "Value" : "i-0c5f1aa1b6df4c771" } ], "OKeyValueList" : [ { "Key" : "CPUUtilization [2025-06-20 04:11:00 +0000 UTC]", "Value" : "Average: 2.74 Minimum: 0.02 Maximum: 5.67 Sum: 10.95 SampleCount: 4 " }, { "Key" : "CPUUtilization [2025-06-20 04:16:00 +0000 UTC]", "Value" : "Average: 2.66 Minimum: 2.62 Maximum: 2.70 Sum: 13.30 SampleCount: 5 " } ] }
- VM 생성시 사용한
- 다음 링크 오픈 후
- 다음처럼 모니터링 대상 설정 후
Fetch Data
클릭(자동으로 페이지가 Refresh 되지는 않음)-
localhost
/ConnectionName
/VM CSP Id
-
-
Install & Start Guide
-
Features & Usage
-
- AdminWeb Tool Guide
- CLI Tool Guide
- REST API Guide
- NLI Guide
-
Design
-
Developer Guide
-
Cloud Driver Developer Guide
- Cloud Driver Developer Guide-WIP
- VM SSH Key Development Guide-WIP
- VM User Development Guide
- What is the CSP SDK API Version of drivers
- Region Zone Info and Driver API
- Price Info and Driver API
- (StartVM TerminateVM) API Call Counts and Waiting
- StartVM and TerminateVM Main Flow of drivers
- VM Root Disk Configuration Guide
- Security Group Rules and Driver API
- Network Load Balancer and Driver API
- VM Snapshot, MyImage and Disk Overview
- Kubernetes and Driver API(PMKS, K8S)
- Tag and Cloud Driver API
- AnyCall API Extension Guide
-
Test Reports
- v0.2.8-for-espresso-release
- v0.3.0-espresso-release
- Azure:Terminating VM
- cb-user@VM: ssh login, sudo run
- v0.3.14 test for SG Source
- v0.4.0-cafemocha-release
- Test via REST API Gateway
- Test Reports of v0.4.11 (IID2 initial Version)
- Test Reports of v0.4.12 (Register & Unregister existing Resources)
- Test Reports for v0.6.0 Release
- How to ...
- How to Use Alibaba ECS i1.* Instance Types
- How to provision GPU VMs
- How to Resolve the 'Failed to Connect to Database' Error
- How to test CB Spider with Mock Driver
- How to install CB Spider on WSL2 under 공유기/사설망
- How to install CB Spider on macOS
- How to run CB Spider Container on macOS
- How to install OpenStack on a VM for CB Spider Testing
- How to get Azure available Regions
- How to profile memory usage in Golang
- Deprecated:How to install protoc and plugins
- [For Cloud-Migrator]