NTP
API calls for real-time monitoring of NTP information:
Associations
Display information about the status of connections to NTP peers.
CLI Equivalent: show ntp associations
URL: https://vmanage-ip-address/dataservice/device/ntp/associations?deviceId=deviceId
Method: GET
Request Parameters
Name | Required | Description | Parameter Type | Data Type |
---|---|---|---|---|
deviceId | Yes | IP address of device | Query | String |
Response Content Type: application/json
Response Object: See Response Object, below.
Peer
Display information about the NTP peers with which the Viptela software is synchronizing its clocks.
CLI Equivalent: show ntp peer
URL: https://vmanage-ip-address/dataservice/device/ntp/peer?deviceId=deviceId
Method: GET
Request Parameters
Name | Required | Description | Parameter Type | Data Type |
---|---|---|---|---|
deviceId | Yes | IP address of device | Query | String |
Response Content Type: application/json
Response ObjectSee Response Object, below.
Response Object for Real-Time Monitoring API Calls
Real-time monitoring API call responses have the following format:
{ "header": { "generatedOn": timestamp, milliseconds (UNIX time format), "viewKeys": { "uniqueKey": ["key"] }, "fields": [ properties and types ], }, "data": [ array of objects ] }