Skip to main content

Retrieve load averages

GET 

/api/node/:hostname/load

Get load average information for 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

Load average information.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    The hostname of the agent.

    status stringrequired

    Possible values: [ok, failed, skipped]

    The status of the operation for this host.

    load_average

    object

    The system load averages for 1, 5, and 15 minutes.

    1min numberrequired

    Load average for the last 1 minute.

    5min numberrequired

    Load average for the last 5 minutes.

    15min numberrequired

    Load average for the last 15 minutes.

    changed boolean

    Whether the operation modified system state.

    error string

    Error message if the agent failed.

  • ]

Loading...