All Products
Search
Document Center

Cloud Storage Gateway:Monitoring

Last Updated:Dec 16, 2024

This topic describes how to monitor file gateways in the Cloud Storage Gateway (CSG) console by using the log monitoring feature. Monitoring metrics include CPU usage, memory usage, IOPS of cache disks, the read and write speed of cache disks, and network throughput.

Background information

File gateways version 1.0.39 and later support the log monitoring feature. You can use this feature in the CSG console.

File gateways can monitor the logs of system directories and shares. The logs are stored in specified Simple Log Service projects and Logstores.

  • Audit logs record business operations performed on Alibaba Cloud, including the upload, rename, and delete operations. This helps you check the operation status and response time.

  • Monitoring logs consist of the information of the network, disks, CPU, memory, amount of data downloaded from and uploaded to OSS, cached data, and OSS data. Monitoring logs also show the read and write bandwidth of shares and OSS health check status.

Note

For on-premises gateways, only users in the whitelist can use the log monitoring feature.

View the monitoring information

  1. On the Gateways page of the CSG console, click the ID of the file gateway. On the gateway details page, click the Monitoring tab.

  2. On the Monitoring tab, view the details

    Metric

    Description

    CPU

    The CPU usage, including the usage of User CPU and System CPU.

    Memory

    Includes Used Memory and Free Memory.

    Cache Disk IOPS

    The number of read and write operations of the cache disk per second, including Read IOPS and Write IOPS.

    Cache Disk Read/write

    Includes Disk Read and Disk Write.

    Network I/O

    Includes Data Receive Rate and Data Send Rate.

Create

  1. On the Gateways page of the CSG console, click the ID of the file gateway. On the gateway details page, click the Monitoring tab.

  2. In the Log Monitoring section, click Create.

  3. In the Create Log Monitoring dialog box, set the parameters.

    If you do not have an available project or Logstore, create a project or Logstore first. For more information, see Create a project and Create a Logstore.

    Wait for10 minutes, and then log on to the Simple Log Service console to view the logs of the file gateway.

    Note

    You can view the synchronization list of files of the gateway. For more information, see How do I view the synchronization list of gateway files in the Simple Log Service console?

What to do next

In the Log Monitoring section, you can also perform the following operations.

Operation

Description

Delete a log monitoring project

If you no longer need to use the log monitoring feature, click Delete.

Disable log monitoring

If you need to temporarily disable the log monitoring feature, click Disable.