Enabling the storage ports and volume metrics monitoring using UCP Advisor REST APIs

Unified Compute Platform (UCP) Advisor Administration Guide

Version
4.6.x
Audience
anonymous
Part Number
MK-92UCP119-15
ft:lastEdition
2024-09-24
You can monitor the following metrics by enabling the storage ports and volume metrics monitoring:
  • Ports: Current port metrics, port KBPS metrics, and port IOPS metrics
  • Volume: LUN KBPS metrics and LUN IOPS metrics
    Note: The volume IOPS is calculated based on two sets of metrics data collected by UCP Advisor.
  • Storage system must be onboarded to UCP Advisor.
  • You must have either ucpAdminRole or UcpAdvisorStorageAdmin permissions.
  1. Access the UCP Advisor REST APIs in Swagger at:https://<UCPAdvisor- vm-ip-address>/porcelain/v2/swagger-ui/index.html. See Accessing the UCP Advisor REST APIs.
  2. Generate the session authorization token:
    1. Make a REST API call to: POST /v2/auth/ Login token.
    2. Copy the token.
  3. For Select a definition, select Monitoring to load the REST APIs for monitoring.
  4. Click Authorize and enter the token that you copied in step 2.b.
  5. Click Authorize, and then click Close.
  6. Expand the config-controller collection and click POST/config/storage.
  7. Select true for the enable boolean parameter.
    The Get Volume and Get Port performance metrics are initiated by the system at scheduled intervals. You can view these tasks in the Tasks tab.

    You can retrieve the KBPS and IOPS metrics for port and volume using the respective APIs in storage-port-controller and storage-volume-controller collections. See Hitachi Unified Compute Platform (UCP) Advisor REST API Reference Guide.