|
|
1. Ensure config/providers/alerts/slack.sh has slack=1
|
|
|
2. Ensure the following items are configured:
|
|
|
- slack_webhook_url
|
|
|
- slack_channel (Default: general)
|
|
|
3. Somewhere in your tooling script, probably on an error condition:
|
|
|
- source alert.sh "My message"
|
|
|
|
|
|
You will get a message in your chosen slack channel that has the following content: "tool_name failed on hostname_short" |
|
|
\ No newline at end of file |