seawall silence alert

Silence one alert by name (and identifying labels); never a sev0.

Usage

seawall silence alert [OPTIONS] <NAME>

Changes the host

Without --yes it prints the plan and changes nothing.

Arguments

<NAME>

The alert name, e.g. SecurityUpdateCritical

Required.

Options

--label <KEY=VALUE>

Only where this label matches, e.g. --label container=nextcloud (repeatable)

--for <DUR>

How long, from 1m to 30d

Default 1h.

--until-resolved

Until it stops firing (30d at most): seawall ends it then

--comment <COMMENT>

Why, shown with the silence in Grafana

--yes

Carry out the plan (without it, this is a dry run)

Every command also takes the global options.

Examples

seawall silence alert DiskHigh --label mountpoint=/ --for 1h
seawall silence alert DiskHigh --label mountpoint=/ --until-resolved
seawall silence alert DiskHigh --label mountpoint=/ --for 1h --yes