Skip to main content
NetApp Knowledge Base

RESTful API and System Manager are not returning volume statistics

Views:
321
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • RESTful API
  • System Manager

Issue

  • REST Command: GET for /storage/volumes/<instance-UUID> returns no volume statistics.

Example:

root@x.x.x.x:/home # curl -u sde:supersecretpassword --insecure https://10.x.x.94/api/storage/volumes/ae908815-f3fa-xxxx-bcb5-d039ea2315e3

  "metric": {
    "timestamp": "2022-03-22T17:27:30Z",
    "duration": "PT15S",
    "status": "ok",
    "latency": {
      "other": 0,
      "total": 0,
      "read": 0,
      "write": 0
    },
    "iops": {
      "read": 0,
      "write": 0,
      "other": 0,
      "total": 0
    },
    "throughput": {
      "read": 0,
      "write": 0,
      "other": 0,
      "total": 0
    }
  },

 

  • However, statistics can be pulled from the CLI

::> qos statistics volume latency show -volume vol_xxx

 svm_1672514dd44711eb8961ca7f3f1f55b8_9ff6ae37
Workload            ID    Latency    Network    Cluster       Data       Disk    QoS Max    QoS Min      NVRAM      Cloud  FlexCache    SM Sync         VA     AVSCAN
--------------- ------ ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
-total-              -   600.00us    52.00us    10.00us    62.00us        0ms   469.00us        0ms     7.00us        0ms        0ms        0ms        0ms        0ms
vol_xxx..  22280    99.00us    43.00us        0ms    56.00us        0ms        0ms        0ms        0ms        0ms        0ms        0ms        0ms        0ms

 

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.