Enable User Storage Space Monitoring and Analytics
The settings described in this document are located in the Monitoring Configuration section.
Feature Overview
After this feature is enabled, the platform periodically collects storage usage statistics for user directories and displays the total usage and the Top 30 distribution of subdirectories in the analytics page. By default, it can be used for HOME directories and can also be extended to directories such as PROJECT that are organized by user name.
This feature is available only in FCP-SUITE scenarios.
This feature is not real-time. Charts are refreshed periodically based on directory scan results.
Configuration Method
After the feature is enabled, configure at least one of the following data sources:
- Directories to monitor: For directories that are directly accessible from the monitor node.
- Extra exporter server: For directories located on other servers, where metrics need to be exposed through
directory-usage-exporter.
Configuration Details
| Parameter | Type | Description | Default | Required |
|---|---|---|---|---|
| Enable | Option | Enables user storage space monitoring and analytics. | No | Yes |
| Directories to monitor | Parameter | List of directories to collect statistics for, separated by commas, for example /fastone/users,/project. | None | No |
| Directory scan interval | Parameter | Controls how often directory scans run, for example 10m or 20m. | 10m | No |
| Maximum directory scan duration | Parameter | Maximum time allowed for a single directory scan. Results from scans that exceed this time are ignored for that run. | 5m | No |
| Extra exporter server | Parameter | Address of an additional directory-usage-exporter service in the format IP:Port or Hostname:Port. Currently only one server is supported. | None | No |
Configuration Rules
- Directories to monitor and Extra exporter server do not need to be configured together; configuring either one is enough to enable collection.
- If both local directories and an extra exporter server are configured, the platform collects data from both sources.
- It is recommended to organize monitored directories by user name, such as user home directories and project directories, so that charts can display usage by user or by direct subdirectory.
Deploy an Extra Exporter Server
To collect statistics for directories outside the monitor node, first deploy directory-usage-exporter on the target server. For deployment steps, see SOP: Directory Usage Exporter Deployment Guide.
View Analytics Results
After configuration is completed and at least one scan cycle has passed, you can log in to the platform to view the charts.
Navigation path: Operations > Analytics and Reports > Cluster Analytics
The page typically displays the following information:
- Total usage of monitored directories;
- Top 30 distribution of direct subdirectory usage;
- Space usage by different monitored directories, such as
HOMEandPROJECT.