docs
uhost
Product Introduction
Monitor

Monitor

We provide monitoring services for your hosts, networks, and other resources, enabling you to understand operating conditions and resource usage at any time. This facilitates problem analysis and troubleshooting.

Currently, we offer monitoring for the following metrics by default: CPU usage, Disk I/O, Network bandwidth, and packet count. If you install our monitoring agent, you can also track memory utilization, disk space usage, and additional indicators.

Installation of Monitoring Agent

Currently, our monitoring agent can be installed after the creation of the host. For specific installation instructions, please refer to: Monitoring Agent Operation Guide

If you would like the monitoring agent to be installed and started during the creation of the host, please follow these steps:

  • Limitations:

    • Host Model: Quick Martyrs Model

    • Image: Some versions of CentOS image

    • Available Zone: The zones supported by the Quick Martyrs Model

Console Operation Guide

  Operation Position: Scroll to the bottom of the creation console, within the custom data section under the more settings card.

Step 1: Enter the cloud-config script

  For images other than CentOS 8.0/8.2/8.3/8.4, enter the following script

#config
packages:
- uma

  For the CentOS 8.0 image version, enter the following script

#cloud-config
 packages:
 - uma-py3

  For the 8.2/8.3/8.4 image versions, pre-installation is not supported yet

Step 2: Confirm if pre-installation was successful

  Method 1: confirmation by command-line: successful pre-installation will return results, otherwise there will be no return.

#rpm -qa | grep uma

  Method 2: In the management console, check the data from the monitoring information module on the corresponding cloud host details page, and if the monitoring agent has been installed, the monitoring data will be displayed.

API Operation Guide

Step 1: Specify the installation of the monitoring agent by setting the UserData field and inputting base64 encoding.

  For images other than CentOS 8.0/8.2/8.3/8.4, enter the following encoding

I2Nsb3VkLWNvbmZpZwpwYWNrYWdlczoKICAtIHVtYQ==

  For the CentOS 8.0 image version, enter the following script

I2Nsb3VkLWNvbmZpZwpwYWNrYWdlczoKICAtIHVtYS1weTM=

  For the 8.2/8.3/8.4 image versions, pre-installation is not supported yet

Step 2: Confirm if pre-installation was successful

  Method 1: confirmation by command-line: successful pre-installation will return results, otherwise there will be no return.

#rpm -qa | grep uma

  Method 2: In the management console, check the data from the monitoring information module on the corresponding cloud host details page, and if the monitoring agent has been installed, the monitoring data will be displayed.

  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved