Retrieve diagnostic operation results for a MetroCluster configuration
GET /cluster/metrocluster/diagnostics
Introduced In: 9.8
Retrieves the results of a completed diagnostic operation for the MetroCluster configuration.
Parameters
| Name | Type | In | Required | Description | 
|---|---|---|---|---|
fields  | 
array[string]  | 
query  | 
False  | 
Specify the fields to return.  | 
max_records  | 
integer  | 
query  | 
False  | 
Limit the number of records returned.  | 
Response
Status: 200, Ok
| Name | Type | Description | 
|---|---|---|
aggregate  | 
||
cluster  | 
||
config-replication  | 
||
connection  | 
||
interface  | 
||
node  | 
||
volume  | 
Example response
{
  "aggregate": {
    "state": "string",
    "summary": {
      "code": "string",
      "message": "string"
    },
    "timestamp": "2016-03-10T14:35:16-08:00"
  },
  "cluster": {
    "state": "string",
    "summary": {
      "code": "string",
      "message": "string"
    },
    "timestamp": "2016-03-10T14:35:16-08:00"
  },
  "config-replication": {
    "state": "string",
    "summary": {
      "code": "string",
      "message": "string"
    },
    "timestamp": "2016-03-14T14:35:16-08:00"
  },
  "connection": {
    "state": "string",
    "summary": {
      "code": "string",
      "message": "string"
    },
    "timestamp": "2016-03-10T14:35:16-08:00"
  },
  "interface": {
    "state": "string",
    "summary": {
      "code": "string",
      "message": "string"
    },
    "timestamp": "2016-03-10T14:35:16-08:00"
  },
  "node": {
    "state": "string",
    "summary": {
      "code": "string",
      "message": "string"
    },
    "timestamp": "2016-03-10T14:35:16-08:00"
  },
  "volume": {
    "state": "string",
    "summary": {
      "code": "string",
      "message": "string"
    },
    "timestamp": "2016-03-10T14:35:16-08:00"
  }
}
Error
Status: Default
ONTAP Error Response Codes
| Error Code | Description | 
|---|---|
2425734  | 
An internal error occurred. Wait a few minutes, and try the operation again. For further assistance, contact technical support.  | 
2427132  | 
MetroCluster is not configured on this cluster.  | 
2432856  | 
MetroCluster diagnostics result is not available. Use the REST API GET method on "/api/cluster/metrocluster/operations?type=check&fields=*" for more information.  | 
Definitions
See Definitions
summary
Additional information or recovery steps to take.
| Name | Type | Description | 
|---|---|---|
code  | 
string  | 
Argument code  | 
message  | 
string  | 
Message argument  | 
aggregate
| Name | Type | Description | 
|---|---|---|
state  | 
string  | 
Status of diagnostic operation for this component.  | 
summary  | 
Additional information or recovery steps to take.  | 
|
timestamp  | 
string  | 
Time of the most recent diagnostic operation for this component  | 
cluster
| Name | Type | Description | 
|---|---|---|
state  | 
string  | 
Status of diagnostic operation for this component.  | 
summary  | 
Additional information or recovery steps to take.  | 
|
timestamp  | 
string  | 
Time of the most recent diagnostic operation for this component  | 
config-replication
| Name | Type | Description | 
|---|---|---|
state  | 
string  | 
Status of diagnostic operation for this component.  | 
summary  | 
Additional information or recovery steps to take.  | 
|
timestamp  | 
string  | 
Time of the most recent diagnostic operation for this component  | 
connection
| Name | Type | Description | 
|---|---|---|
state  | 
string  | 
Status of diagnostic operation for this component.  | 
summary  | 
Additional information or recovery steps to take.  | 
|
timestamp  | 
string  | 
Time of the most recent diagnostic operation for this component  | 
interface
| Name | Type | Description | 
|---|---|---|
state  | 
string  | 
Status of diagnostic operation for this component.  | 
summary  | 
Additional information or recovery steps to take.  | 
|
timestamp  | 
string  | 
Time of the most recent diagnostic operation for this component  | 
node
| Name | Type | Description | 
|---|---|---|
state  | 
string  | 
Status of diagnostic operation for this component.  | 
summary  | 
Additional information or recovery steps to take.  | 
|
timestamp  | 
string  | 
Time of the most recent diagnostic operation for this component  | 
volume
| Name | Type | Description | 
|---|---|---|
state  | 
string  | 
Status of diagnostic operation for this component.  | 
summary  | 
Additional information or recovery steps to take.  | 
|
timestamp  | 
string  | 
Time of the most recent diagnostic operation for this component  |