Delen via


Network Node - Get Interfaces For GivenNode

Hiermee worden gegevens voor het netwerkknooppunt opgehaald op basis van knooppunt-id en aanvraagtype.

GET http://<Servername>/OperationsManager/NetworkNode/{nodeId}/{requestType}

URI-parameters

Name In Vereist Type Description
nodeId
path True

string

Geef de knooppunt-id op.

requestType
path True

string

Geef een van de volgende eigenschappen op (healthofinterfaces, averageavailability)

Antwoorden

Name Type Description
200 OK

object

OK

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

Voorbeelden

GetInterfacesForGivenNode For averageavailability
GetInterfacesForGivenNode For healthofinterfaces

GetInterfacesForGivenNode For averageavailability

Sample Request

GET http://<Servername>/OperationsManager/NetworkNode/66294d70-467c-d7f7-d30e-c01246367e81/averageavailability

Sample Response

[
  {
    "nodeId": null,
    "today": 100,
    "yesterday": 100,
    "lastSevenDays": 100,
    "lastThirtyDays": 100
  }
]

GetInterfacesForGivenNode For healthofinterfaces

Sample Request

GET http://<Servername>/OperationsManager/NetworkNode/66294d70-467c-d7f7-d30e-c01246367e81/healthofinterfaces

Sample Response

[
  {
    "description": "GigabitEthernet0/28",
    "sentBitsPerSecond": "NaN",
    "receivedBitsPerSecond": "NaN",
    "interfaceId": "e283c15f-7773-8146-b2f6-37bf97443404",
    "interfaceName": "PORT-10128",
    "interfaceState": "notmonitored"
  },
  {
    "description": "GigabitEthernet0/40",
    "sentBitsPerSecond": "NaN",
    "receivedBitsPerSecond": "NaN",
    "interfaceId": "26b2a0fb-f4e2-0f63-acbe-538b87759277",
    "interfaceName": "PORT-10140",
    "interfaceState": "notmonitored"
  }
]