slack

Follow

Manage Slack notifications

Subcommands

add Add Slack webhook to a configuration
remove, rm Remove Slack webhooks from a configuration
test Send a test Slack message
list, ls List Slack webhooks for a configuration

add

dbvcli slack add {-d|--name} CONFIGURATION_NAME [--OPTIONS]

Add Slack webhook to a configuration

Option

Type

Description

--webhook

string, required

Slack webhook to add

--test

Y or N

test sending Slack message before adding

Example
[oracle@nzoel19c2 bin]$ ./dbvcli -d orclcdb slack add
Connecting to the Control Center at localhost:4433 ✓

Add Slack Webhook 1/2
Enter the Slack webhook to add to the configuration.

Slack Webhook:

> vices/T03K8JZAN/BNWDH9ARJ/vrFkN1LF0O0bD2xwrMv7Hhxl

Add Slack Webhook 2/2
Select whether to send a test Slack message using this Slack webhook before
adding it.

Send Test Slack Message:

( ) Yes
(•) No

Slack webhook successfully added

remove, rm

dbvcli slack remove {-d|--name} CONFIGURATION_NAME [--OPTIONS]
dbvcli slack rm {-d|--name} CONFIGURATION_NAME [--OPTIONS]

Remove Slack webhooks from a configuration

Option

Type

Description

--webhook

string, required

Slack webhook to remove

test

dbvcli slack test {-d|--name} CONFIGURATION_NAME [--OPTIONS]

Send a test Slack message

Option

Type

Description

--webhook

string, required

Slack webhook to send Slack message to

--show-debug

Y or N

whether to show detailed debug information

list, ls

dbvcli slack list {-d|--name} CONFIGURATION_NAME
dbvcli slack ls {-d|--name} CONFIGURATION_NAME

List Slack webhooks for a configuration

Have more questions? Submit a request

Comments