lvl system actions startMaintenance
Mark the system as being in maintenance
Synopsis
Mark the system as being in maintenance
Marking a system as maintenance silences alerts on it.
lvl system actions startMaintenance <system> [flags]
Examples
Put a system in maintenance:
lvl system actions startMaintenance web1
Put a system in maintenance for one hour:
lvl system actions startMaintenance web1 --duration 60
Options
-d, --duration int32 How long maintenance should last, in minutes (default 1440)
-h, --help help for startMaintenance
Options inherited from parent commands
--apikey string API key
--config string config file (default is $HOME/.lvl.yaml)
-o, --output string Specifies output mode for commands. Accepted values are 'text', 'json', 'yaml' or 'id'. (default "text")
--trace Do detailed network request logging. This is intended for debugging and should not be parsed.
SEE ALSO
- lvl system actions - Actions for systems such as rebooting