Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Get file storage node statistics

Retrieves statistics data for file storage from a specific node. Some statistics data is node-specific. For other types of statistics data, the node parameter is ignored.

HTTP request syntax (URI)
GET <base_URI>/v7/storage/statistics/{id}/{statsType}
Parameters
Name Type Required Values Description
id URI_PARAM Y string/number Node object ID or storage node ID. If the statsType parameter is "Virus", then the id parameter is used to specify a virtual server ID and not the node ID
statsType URI_PARAM Y string Type of statistics data to retrieve. Possible values are:
  • CIFS
  • iSCSI
  • NFS
  • NVRAM
  • TCPIP
  • DetailedTCPIP
  • TCPIPPerPort
  • FTP
  • SNMP
  • Virus
  • FibreChannel
  • FibreChannelPerPort
  • EtherNet
  • EtherNetPerPort
  • HTTPSManagement
  • SSCManagement
  • VSSManagement
  • ReadCache
  • FileSystemOpsPerSec
Return codes
Code Data Description
200 genericStatistics A genericStatistics object is retrieved successfully.
400 No Data Missing or invalid request contents.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.
501 No Data Server has not implemented the request operation on the resource.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example 1
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.57.75:8444/v7/storage/statistics/313a3a3a/nfs
Response example 1
HTTP/1.1 200 OK
{
   "genericStatistics" : {
      "errorMessage" : "",
      "resetTime" : 1462000840,
      "statistics" : [
         {
            "elements" : [
               {
                  "text" : "Null",
                  "value" : "0"
               },
               {
                  "text" : "GetAttr",
                  "value" : "0"
               },
               {
                  "text" : "SetAttr",
                  "value" : "0"
               },
               {
                  "text" : "Link",
                  "value" : "0"
               },
               {
                  "text" : "SymLink",
                  "value" : "0"
               },
               {
                  "text" : "MkDir",
                  "value" : "0"
               },
               {
                  "text" : "RmDir",
                  "value" : "0"
               },
               {
                  "text" : "ReadDir",
                  "value" : "0"
               },
               {
                  "text" : "StatFS/FSStat",
                  "value" : "0"
               }
            ],
            "label" : "Version 2",
            "resetTime" : 0
         },
         {
            "elements" : [
               {
                  "text" : "Null",
                  "value" : "1"
               },
               {
                  "text" : "GetAttr",
                  "value" : "20"
               }
           ],
            "label" : "Version 4",
            "resetTime" : 0
         }
      ]
   }
}
Request example 2
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.57.75:8444/v7/storage/statistics/313a3a3a/nvram
Response example 2
HTTP/1.1 200 OK
	{
   "genericStatistics" : {
      "errorMessage" : "",
      "resetTime" : 0,
      "statistics" : [
         {
            "elements" : [
               {
                  "text" : "NVRAM size",
                  "value" : "3.981 GB"
               },
               {
                  "text" : "Maximum used",
                  "value" : "48 MB"
               },
               {
                  "text" : "Currently in use",
                  "value" : "48 MB"
               }
            ],
            "label" : "",
            "resetTime" : 0
         }
      ]
   }
}

 

  • Was this article helpful?