GetNtpInfo

You can use the GetNtpInfo method to get the current network time protocol (NTP) configuration information.

Parameter

This method has no input parameter.

Return values

This method has the following return values:

Name Description Type
servers List of NTP servers. string array
broadcastclient Indicates whether or not the nodes in the cluster are listening for broadcast NTP messages. Possible values:
  • true
  • false
boolean

Request example

Requests for this method are similar to the following example:

{
  "method": "GetNtpInfo",
  "params": {},
  "id" : 1
}

Response example

This method returns a response similar to the following example:

{
  "id" : 1, 
  "result" : {
    "broadcastclient" : false,
    "servers" : [ "us.pool.ntp.org" ]
   }
}