CLI reference

norcube monitor channels update

Rename, enable, disable or reconfigure an alert channel

Not verified yet

Changes only what you pass. New settings replace the kind's settings as a whole (a Slack or Discord URL must be given again); a new address or phone number needs verifying again. --rotate-secret gives a webhook a new signing secret, written to --secret-file.

Usage

norcube monitor channels update <channel> [flags]

Examples

norcube monitor channels update "Ops" --default=false
norcube monitor channels update "On-call webhook" --rotate-secret --secret-file new-secret.txt
norcube monitor channels update "On-call phone" --phone +420601999888

Flags

FlagDefaultDescription
--addressemail: the address to alert (it gets a code to confirm)
--defaultMake it a default channel: monitors that follow the organization's defaults alert here
--disableStop sending alerts through the channel, keeping it
--enableSend alerts through the channel again
--membersemail: alert the organization's members instead of one address
--nameNew name
--phonesms: a mobile number in international format, e.g. +420601123456 (it gets a code to confirm)
--rotate-secretwebhook: generate a new signing secret (use with --secret-file)
--secret-filewebhook: write the generated signing secret to this new file (mode 0600); it is never printed
--signing-secret-filewebhook: use your own signing secret (whsec_…) read from this file (- for standard input)
--urlwebhook: the URL Norcube Monitor posts signed alerts to
--url-fileslack, discord: read the incoming-webhook URL (a credential) from this file (- for standard input)

Every command also takes the global flags: --profile, --org, -o, --query, --debug and more.

See also

On this page