Cloud/NHN Cloud

[NHN Cloud] System Monitoring 에이전트(toast-sysmon) 설치 및 종료 방법

yeit 2024. 6. 15. 14:46
728x90


System Monitoring란?

  • NHN Cloud에서 제공하는 모니터링 시스템으로, NHN에서 생성된 가상 서버의 시스템 지표 차트를 제공한다.
  • 각 시스템 지표 차트를 원하는 레이아웃으로 구성할 수 있으며, 지표가 특정 임계치에 도달할 경우 원하는 특정 사용자 그룹에게 이메일 또는 SMS로 알림을 보내도록 설정할 수 있다.

 

주요 기능

  • 개별 시스템 지표에 대한 차트를 제공
  • 각 시스템 지표 차트를 선택하여 원하는 레이아웃으로 배열 가능
  • 직접 날짜 범위를 선택하거나 차트의 영역을 선택하여 특정 기간의 지표 상태를 확인 가능
  • 각 시스템 지표에 대한 알림 설정 및 통지 기능 제공
  • 서버의 각 시스템 지표별로 경고 알림 임계치 설정 가능
  • 알림 수신 방법 및 수신 대상 설정 가능

 

 

System Monitoring Agent 설치 방법

*root 권한으로 설치 진행


1. /opt/toast-sysmon-install.sh 경로에서 인스턴스 내 설치 스크립트가 있는지 확인


2. 해당 경로에 파일이 없다면 아래 링크에서 다운로드
https://static.toastoven.net/toastcloud/sdk_download/monitoring/toast-sysmon-install.sh

#!/bin/bash

if [ "$(id -u)" -ne 0 ]; then
    echo "Permission Denided. Run as root."
    exit 13
fi

curl -s -o /tmp/toast-sysmon-installer.sh http://169.254.169.254/sysmon/agent/toast-sysmon-installer.sh
if [ $? -ne 0 ]; then
    echo "TOAST System Monitoring Install Script download failed."
    exit 14
fi

chmod 755 /tmp/toast-sysmon-installer.sh
/tmp/toast-sysmon-installer.sh
rm -f /tmp/toast-sysmon-installer.sh

 

3. 서버에서 설치 스크립트를 실행

설치가 완료되면 자동으로 모니터링이 시작된다. (NHN Cloud 콘솔에서 확인 가능)

 

 

 

System Monitoring Agent 종료 방법

1. 에이전트 상태 확인 및 종료

# systemctl status toast-sysmon
# systemctl stop toast-sysmon
# systemctl disable toast-sysmon

 

추가)

실행 systemd 파일 경로 : /etc/systemd/system/toast-sysmon.service

toast-sysmon 설치 스크립트 경로 : /opt/toast-sysmon-install.sh

 

 

 

 

 

참고 자료)

콘솔 사용 가이드 - NHN Cloud 사용자 가이드

 

콘솔 사용 가이드 - NHN Cloud 사용자 가이드

Monitoring > System Monitoring > 콘솔 사용 가이드 콘솔 사용 가이드에서는 System Monitoring을 사용하는 데 필요한 기본적인 내용을 설명합니다. - 서버 대시보드 - 사용자 그룹 - 알림 그룹 서버 대시보드 M

docs.nhncloud.com

 

 

728x90