Cloud Monitoring 서비스에서 Instance의 상세 지표를 수집하려면 신규 Agent를 설치해야 합니다. 신규 Agent는 기존 Agent와는 별개로 동작하며, 더 정확하고 상세한 인스턴스 지표를 제공합니다.
[주의] 오토 스케일 그룹에 속한 인스턴스의 경우 오토 스케일링 기능이 정상 동작하지 않을 수 있습니다.
전체 진행 순서는 다음과 같습니다. 1. 신규 Agent 설치 2. 구 Agent 삭제(선택 사항)
rm -f ./install-nhncloud-telegraf.sh
curl -s -o install-nhncloud-telegraf.sh 'http://169.254.169.231/monitoring/cloud-agent/linux-amd64/install-nhncloud-telegraf.sh'
chmod 755 ./install-nhncloud-telegraf.sh
sudo ./install-nhncloud-telegraf.sh
sudo systemctl status nhncloud-telegraf
Remove-Item install-nhncloud-telegraf.ps1 -ErrorAction SilentlyContinue
Invoke-WebRequest -Uri 'http://169.254.169.231/monitoring/cloud-agent/windows-amd64/install-nhncloud-telegraf.ps1' -OutFile 'install-nhncloud-telegraf.ps1'
powershell -ExecutionPolicy Bypass -File install-nhncloud-telegraf.ps1
Get-Service -Name "nhncloud-telegraf"
[참고] 신규 Agent와 구 Agent를 동시에 사용할 수도 있습니다.
기존 System Monitoring Agent를 제거하기 위한 삭제 가이드입니다. 신규 Agent와 구 Agent는 동시에 설치되어 있어도 문제없이 동작합니다.
curl -s -o uninstall-sysmon-agent.sh 'http://169.254.169.231/monitoring/cloud-agent/linux-amd64/uninstall-sysmon-agent.sh'
chmod 755 ./uninstall-sysmon-agent.sh
sudo ./uninstall-sysmon-agent.sh
sudo systemctl status toast-sysmon
& "C:\Program Files (x86)\NHN\TOAST\uninst.exe"
Get-Process -Name "toastmon" -ErrorAction SilentlyContinue
rm -f ./uninstall-nhncloud-telegraf.sh
curl -s -o uninstall-nhncloud-telegraf.sh 'http://169.254.169.231/monitoring/cloud-agent/linux-amd64/uninstall-nhncloud-telegraf.sh'
chmod 755 ./uninstall-nhncloud-telegraf.sh
sudo ./uninstall-nhncloud-telegraf.sh
Remove-Item uninstall-nhncloud-telegraf.ps1 -ErrorAction SilentlyContinue
Invoke-WebRequest -Uri 'http://169.254.169.231/monitoring/cloud-agent/windows-amd64/uninstall-nhncloud-telegraf.ps1' -OutFile 'uninstall-nhncloud-telegraf.ps1'
powershell -ExecutionPolicy Bypass -File uninstall-nhncloud-telegraf.ps1
| 지표명 | 리소스명 | 기본 범례(Legend) | 단위(Unit) |
|---|---|---|---|
| CPU 사용률 (%) | CPU (New) | {{nhncloud_instance_id}} | 백분율(0-100) |
| CPU 코어 개수 | CPU (New) | {{nhncloud_instance_id}} | 숫자 |
| 코어별 CPU 사용률 (%) | CPU (New) | {{nhncloud_instance_id}} cpu={{cpu}} | 백분율(0-100) |
| CPU 평균 부하(1m) | CPU (New) | {{nhncloud_instance_id}} - 1m | 숫자 |
| CPU 평균 부하(5m) | CPU (New) | {{nhncloud_instance_id}} - 5m | 숫자 |
| CPU 평균 부하(15m) | CPU (New) | {{nhncloud_instance_id}} - 15m | 숫자 |
| CPU 상세(user) (%) | CPU (New) | {{nhncloud_instance_id}} | 백분율(0-100) |
| CPU 상세(nice) (%) | CPU (New) | {{nhncloud_instance_id}} | 백분율(0-100) |
| CPU 상세(system) (%) | CPU (New) | {{nhncloud_instance_id}} | 백분율(0-100) |
| CPU 상세(iowait) (%) | CPU (New) | {{nhncloud_instance_id}} | 백분율(0-100) |
| CPU 상세(steal) (%) | CPU (New) | {{nhncloud_instance_id}} | 백분율(0-100) |
| 메모리 사용률 (%) | Memory (New) | {{nhncloud_instance_id}} | 백분율(0-100) |
| 메모리 상세(used) (Bytes) | Memory (New) | {{nhncloud_instance_id}} | 바이트(bytes) |
| 메모리 상세(available) (Bytes) | Memory (New) | {{nhncloud_instance_id}} | 바이트(bytes) |
| 메모리 상세(free) (Bytes) | Memory (New) | {{nhncloud_instance_id}} | 바이트(bytes) |
| 메모리 상세(cached) (Bytes) | Memory (New) | {{nhncloud_instance_id}} | 바이트(bytes) |
| 메모리 상세(buffered) (Bytes) | Memory (New) | {{nhncloud_instance_id}} | 바이트(bytes) |
| 디스크 사용률 (%) | Disk (New) | {{nhncloud_instance_id}} | 백분율(0-100) |
| 장치별 디스크 사용률 (%) | Disk (New) | {{nhncloud_instance_id}} device={{device}} fstype={{fstype}} path={{path}} | 백분율(0-100) |
| 디스크 읽기 (B/s) | Disk I/O (New) | {{nhncloud_instance_id}} | 초당 바이트(bytes/s) |
| 디스크 쓰기 (B/s) | Disk I/O (New) | {{nhncloud_instance_id}} | 초당 바이트(bytes/s) |
| 장치별 디스크 읽기 (B/s) | Disk I/O (New) | {{nhncloud_instance_id}} device={{name}} | 초당 바이트(bytes/s) |
| 장치별 디스크 쓰기 (B/s) | Disk I/O (New) | {{nhncloud_instance_id}} device={{name}} | 초당 바이트(bytes/s) |
| 장치별 처리 중인 작업 수 | Disk I/O (New) | {{nhncloud_instance_id}} device={{name}} | 숫자 |
| 장치별 IO 사용률 (%) | Disk I/O (New) | {{nhncloud_instance_id}} device={{name}} | 백분율(0-100) |
| 네트워크 데이터 수신 (B/s) | Network (New) | {{nhncloud_instance_id}} | 초당 바이트(bytes/s) |
| 네트워크 데이터 송신 (B/s) | Network (New) | {{nhncloud_instance_id}} | 초당 바이트(bytes/s) |
| 장치별 네트워크 데이터 수신 (B/s) | Network (New) | {{nhncloud_instance_id}} interface={{interface}} | 초당 바이트(bytes/s) |
| 장치별 네트워크 데이터 송신 (B/s) | Network (New) | {{nhncloud_instance_id}} interface={{interface}} | 초당 바이트(bytes/s) |
| 네트워크 데이터 수신 (bps) | Network (New) | {{nhncloud_instance_id}} | 초당 비트(bit/s) |
| 네트워크 데이터 송신 (bps) | Network (New) | {{nhncloud_instance_id}} | 초당 비트(bit/s) |
| 장치별 네트워크 데이터 수신 (bps) | Network (New) | {{nhncloud_instance_id}} interface={{interface}} | 초당 비트(bit/s) |
| 장치별 네트워크 데이터 송신 (bps) | Network (New) | {{nhncloud_instance_id}} interface={{interface}} | 초당 비트(bit/s) |
| 네트워크 패킷 수신 (pps) | Network (New) | {{nhncloud_instance_id}} | 초당 패킷(packets/s) |
| 네트워크 패킷 송신 (pps) | Network (New) | {{nhncloud_instance_id}} | 초당 패킷(packets/s) |
| 장치별 네트워크 패킷 수신 (pps) | Network (New) | {{nhncloud_instance_id}} interface={{interface}} | 초당 패킷(packets/s) |
| 장치별 네트워크 패킷 송신 (pps) | Network (New) | {{nhncloud_instance_id}} interface={{interface}} | 초당 패킷(packets/s) |
| 가동시간 (s) | System (New) | {{nhncloud_instance_id}} | 시간(second) |
| 스왑 사용률 (%) | Swap (New) | {{nhncloud_instance_id}} | 백분율(0-100) |
| 스왑 사용량(used) (Bytes) | Swap (New) | {{nhncloud_instance_id}} | 바이트(bytes) |
| 스왑 사용량(free) (Bytes) | Swap (New) | {{nhncloud_instance_id}} | 바이트(bytes) |
| 스왑 사용량(total) (Bytes) | Swap (New) | {{nhncloud_instance_id}} | 바이트(bytes) |