/
slack 

slack 

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

Option

Type

Description

--webhook

string, required

Slack webhook to add

--test

Y or N

test sending Slack message before adding

remove

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

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

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

-bash-4.2$ ./dbvcli -d PG5433 slack add Connecting to the Control Center at centlin72.oraclekiwi.co.nz:4433 ✓ Add Slack Webhook 1/2 Enter the Slack webhook to add to the configuration. Slack Webhook: > vices/xxxxxx/xxxxx/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 -bash-4.2$ ./dbvcli -d PG5433 slack test Connecting to the Control Center at centlin72.oraclekiwi.co.nz:4433 ✓ Test Slack Webhook Select the Slack webhooks to send test Slack message to. Slack Webhooks: > [✓] https://hooks.slack.com/services/xxxxxx/xxxxxx/vrFkN1LF0O0bD2xwrMv7Hhxl Sending test Slack message ✓ Test Slack message sent successfully Debug Information Select whether to show detailed debug information from the test. Show Debug Information: (•) Yes ( ) No ok -bash-4.2$ ./dbvcli -d PG5433 slack list Connecting to the Control Center at centlin72.oraclekiwi.co.nz:4433 ✓ Slack Webhooks for Configuration PG5433 https://hooks.slack.com/services/xxxxxxx/xxxxx/vrFkN1LF0O0bD2xwrMv7Hhxl