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 +420601999888Flags
| Flag | Default | Description |
|---|---|---|
--address | email: the address to alert (it gets a code to confirm) | |
--default | Make it a default channel: monitors that follow the organization's defaults alert here | |
--disable | Stop sending alerts through the channel, keeping it | |
--enable | Send alerts through the channel again | |
--members | email: alert the organization's members instead of one address | |
--name | New name | |
--phone | sms: a mobile number in international format, e.g. +420601123456 (it gets a code to confirm) | |
--rotate-secret | webhook: generate a new signing secret (use with --secret-file) | |
--secret-file | webhook: write the generated signing secret to this new file (mode 0600); it is never printed | |
--signing-secret-file | webhook: use your own signing secret (whsec_…) read from this file (- for standard input) | |
--url | webhook: the URL Norcube Monitor posts signed alerts to | |
--url-file | slack, 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
norcube monitor channels: Manage alert channels: email, webhooks, Slack, Discord and SMS