Skip to main content

Get a sysctl entry

GET 

/node/:hostname/sysctl/:key

Get a specific managed sysctl entry by key 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).

    key stringrequired

    Possible values: non-empty, Value must match regular expression ^[a-z0-9._-]+$

    Sysctl parameter key (e.g., net.ipv4.ip_forward).

Responses

Sysctl entry detail.

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.

    key string

    Sysctl parameter key.

    value string

    Current value of the sysctl parameter.

    error string

    Error message if the agent failed to retrieve this entry.

  • ]

Loading...