Skip to main content
Hitachi Vantara Knowledge

Get node diagnostics

Get diagnostics from a specific cluster node.

NoteThis API call is different from most others, in that on success, it returns a binary download, rather than JSON formatted output. JSON formatted errors are returned in the same way as other API calls.
HTTP request syntax (URI)
GET <base_URI>/v8/storage/nodes/{nodeId}/diagnostics
Parameters
Name Type Required Values Description
nodeId URI_PARAM Y string/number Specifies either a node object ID or an HNAS storage cluster node ID.
Return codes
Code Data Description
200 Diagnostic attachment Diagnostic file retrieved successfully.
400 Error Message Missing or invalid request contents.
404 Error Message Requested resource not found.
500 Error message Error associated with the storage system.

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

Request example: Download diagnostics for cluster node 1 and save as "diagnostics.tgz"
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/nodes/1/diagnostics > diagnostics.tgz

 

  • Was this article helpful?