/sys/net/ntp/server/{idx}/state

The meter's view of the current state of this NTP server. It may have one of the following values:

  • INVAL: The server is invalid, e.g., because the hostname could not be resolved to a network address or because the remote server is not responding.

  • TRACK: The server is being tracked and, if everything continues to work fine, it will enter the PEER state shortly.

  • PEER: The server is a peer and could be used as a time source.

  • SYNC: The server is a peer and the meter's time is synchronized with this server.

Get /sys/net/ntp/server/{idx}/state

SecurityApiKey
Request
path Parameters
idx
required
integer >= 0

The index of an NTP server.

Responses
200

Normal response.

401

Unauthorized response.

get/sys/net/ntp/server/{idx}/state
Request samples
Response samples
application/json
{
  • "result": "SYNC",
  • "error": "Error message (present if an error occurred)."
}