Dela via


Network Monitoring - GetNetwork Monitoring ResponseData

Hämtar data för nätverksenheter och gränssnitt.

GET http://<Servername>/OperationsManager/NetworkMonitoring/{requestType}

URI-parametrar

Name I Obligatorisk Typ Description
requestType
path True

string

typ av begäran som sträng. NodesWithHigestCpuUsage, NodesWithSlowestResponse, NodesWithSlowestResponse, InterfacesWithMostSentErrors, InterfacesWithMostReceivedErrors, NodesWithMostAlerts, InterfacesWithMostAlerts)

Svar

Name Typ Description
200 OK

object

OK

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Exempel

GetNetworkMonitoringResponseData for NodesWithMostAlerts
GetNetworkMonitoringResponseData for NodesWithSlowestResponse

GetNetworkMonitoringResponseData for NodesWithMostAlerts

Sample Request

GET http://<Servername>/OperationsManager/NetworkMonitoring/NodesWithMostAlerts

Sample Response

[
  {
    "alertCount": 1,
    "nodeId": "66294d70-467c-d7f7-d30e-c01246367e81",
    "nodeState": "unavailable-warning",
    "nodeName": "SCOM-Cisconet.contoso.com"
  }
]

GetNetworkMonitoringResponseData for NodesWithSlowestResponse

Sample Request

GET http://<Servername>/OperationsManager/NetworkMonitoring/NodesWithSlowestResponse

Sample Response

[
  {
    "averageResponseTime": 3,
    "nodeId": "66294d70-467c-d7f7-d30e-c01246367e81",
    "nodeState": "unavailable-warning",
    "nodeName": "SCOM-Cisconet.contoso.com"
  }
]