Skip to main content

Get system timezone

GET 

/node/:hostname/timezone

Get the current system timezone 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

Timezone 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.

    timezone string

    Current timezone name.

    utc_offset string

    Current UTC offset (e.g., "-05:00").

    error string

    Error message if the agent failed.

  • ]

Loading...