Slack alert sender for Ayd alive monitoring tool.
-
Download binary from release page.
-
Save downloaded binary as
ayd-slack-alert
to somewhere directory that registered to PATH.
-
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
Set all options through environment variable.
Variable | Default | Description |
---|---|---|
SLACK_WEBHOOK_URL |
Slack Incoming Webhook URL. | |
AYD_URL |
http://localhost:9000 |
Ayd server address. |