Skip to main content

Get NTP status

GET 

/node/:hostname/ntp

Get NTP sync status and configured servers on the target node.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

    Target agent hostname, reserved routing value (_any, _all), or label selector (key:value).

Responses

NTP status.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    Hostname of the agent that reported this entry.

    status stringrequired

    Possible values: [ok, failed, skipped]

    The status of the operation for this host.

    synchronized boolean

    Whether the system clock is synchronized.

    stratum integer

    NTP stratum level.

    offset string

    Clock offset from the NTP source.

    current_source string

    The currently selected NTP source.

    servers string[]

    Configured NTP server addresses.

    error string

    Error message if the agent failed to retrieve NTP status.

  • ]

Loading...