Slack notifications¶
You can send notifications to your Slack channel using an incoming webhook URL.
Hint
Mattermost webhooks are compatible with Slack notification without any special configuration (if Webhooks are enabled).
Configuration¶
File
notif:
slack:
webhookURL: https://hooks.slack.com/services/ABCD12EFG/HIJK34LMN/01234567890abcdefghij
timeout: 10s
Environment variables
FTPGRAB_NOTIF_SLACK_WEBHOOKURLFTPGRAB_NOTIF_SLACK_WEBHOOKURLFILEFTPGRAB_NOTIF_SLACK_TIMEOUTFTPGRAB_NOTIF_SLACK_PROXYFTPGRAB_NOTIF_SLACK_TLSSKIPVERIFYFTPGRAB_NOTIF_SLACK_TLSCACERTFILES(comma separated)
| Name | Default | Description |
|---|---|---|
webhookURL1 |
Slack incoming webhook URL | |
webhookURLFile1 |
Secret file used when webhookURL is unset |
|
timeout |
10s |
Timeout for each HTTP request |
proxy |
Explicit proxy URL | |
tlsSkipVerify |
false |
Skip TLS certificate verification |
tlsCaCertFiles |
Custom CA PEM files (replace system roots) |
Sample¶
