ayd-slack-alert
June 26, 2022 ยท View on GitHub
Slack alert sender for Ayd alive monitoring tool.
Install
-
Download binary from release page.
-
Save downloaded binary as
ayd-slack-alertto somewhere directory that registered to PATH.
Usage
-
Get your webhook URL.
-
Set environment variables.
$ export AYD_URL="https://ayd-external-url.example.com"
$ export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/......"
- Start Ayd? server.
$ ayd -a slack: ping:your-target.example.com
Options
Set all options through environment variable.
| Variable | Default | Description |
|---|---|---|
SLACK_WEBHOOK_URL | Slack Incoming Webhook URL. | |
AYD_URL | http://localhost:9000 | Ayd server address. |