ktm agents maintenance

Use the ktm agents maintenance command to enable or disable maintenance mode and pause or resume test execution on an agent.

Toggle maintenance mode for an agent

Usage

ktm agents maintenance [flags]

Examples

ktm agents maintenance --agent phone-hub-01 --enable --confirm
ktm agents maintenance --agent phone-hub-01 --disable --confirm

Flags

FlagTypeDefaultDescription
--agentstringAgent hostname or UUID (required)
--confirmbooleanExecute the toggle (without this, shows preview)
--disablebooleanDisable maintenance mode
--enablebooleanEnable maintenance mode

Details

Stop or resume test execution on an agent.

--agent takes either identifier: the agent's hostname or its UUID. Maintenance applies to every agent type, so no --type is needed.

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on