docs
uhost
introduction
Monitor

Monitor

We provide monitoring services for your hosts, networks, and other resources. You can keep track of system operations and resource usage at any time, making it easy to locate and analyze problems.

By default, host monitoring items include: CPU usage, disk read/write, network card bandwidth in and out, and packet volume. If you install our monitoring agent program, you can also monitor memory usage, disk space usage, and other metrics.

Installation of Monitoring Agent Program

Currently, you can install our monitoring agent program after the host is created. For specific installation methods, please refer to: Monitoring Agent Operation Guide

At the same time, if you wish to install and start our monitoring agent program when creating a host, you can refer to the following method to create a host.

  • Limitations:

    • Machine type: Fast and efficient machine type

    • Image: CentOS image

    • Availability Zone: Availability zones supported by the fast and efficient machine type

Creation Console Operation Guide

  Operation location: Scroll down to the bottom of the creation console, in the custom data section of the more settings card.

Alt text

Step One: Enter the cloud-config script

  Except for CentOS 8.0/8.2/8.3 image versions, enter the following script

#config
packages:
- uma

  For CentOS 8.0/8.2/8.3 image versions, enter the following script

#cloud-config
 packages:
 - uma-py3

Step Two: Confirm successful pre-installation

  Method 1: Confirm via command line: A successful pre-installation will return results, otherwise there will be no return

#rpm -qa | grep uma

  Method 2: In the management console, on the details page of the corresponding cloud host, confirm the data of the monitoring information module. If the monitoring agent has been installed, the monitoring data will be displayed. Alt text

API Operation Guide

Step One: Specify the installation of the monitoring agent by setting the UserData field, inputting base64 encoding

  Except for CentOS 8.0/8.2/8.3 image versions, input the following encoding

I2Nsb3VkLWNvbmZpZwpwYWNrYWdlczoKICAtIHVtYQ==

  For CentOS 8.0/8.2/8.3 image versions, input the following script

I2Nsb3VkLWNvbmZpZwpwYWNrYWdlczoKICAtIHVtYS1weTM=

Step Two: Confirm whether the pre-installation was successful

  Method 1: Confirm through the command line: Successful pre-installation will return a result, otherwise there will be no return

#rpm -qa | grep uma

  Method 2: In the management console, on the details page of the corresponding UHost, confirm the data of the monitoring information module. If the monitoring agent has been installed, the monitoring data will be displayed. Alt text

  • Company
  • ContactUs
  • Blog
Copyright © 2024 SurferCloud All Rights Reserved
  • Contact our sales to help your business.
  • Contact our sales to help your business.