You can use the GetNtpInfo method to get the current network time protocol (NTP) configuration information.
This method has no input parameter.
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:
|
boolean |
Requests for this method are similar to the following example:
{ "method": "GetNtpInfo", "params": {}, "id" : 1 }
This method returns a response similar to the following example:
{ "id" : 1, "result" : { "broadcastclient" : false, "servers" : [ "us.pool.ntp.org" ] } }
9.6