https://github.com/macrat/ayd-slack-alert
Slack alert sender for Ayd alive monitoring tool
https://github.com/macrat/ayd-slack-alert
alerting ayd slack
Last synced: about 2 months ago
JSON representation
Slack alert sender for Ayd alive monitoring tool
- Host: GitHub
- URL: https://github.com/macrat/ayd-slack-alert
- Owner: macrat
- License: mit
- Created: 2021-04-18T11:23:23.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-02-09T09:54:28.000Z (over 1 year ago)
- Last Synced: 2025-06-06T03:41:32.021Z (about 1 year ago)
- Topics: alerting, ayd, slack
- Language: Go
- Homepage:
- Size: 52.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
ayd-slack-alert
===============
Slack alert sender for [Ayd](https://github.com/macrat/ayd) alive monitoring tool.
## Install
1. Download binary from [release page](https://github.com/macrat/ayd-slack-alert/releases).
2. Save downloaded binary as `ayd-slack-alert` to somewhere directory that registered to PATH.
## Usage
1. Get your [webhook URL](https://api.slack.com/messaging/webhooks).
2. Set environment variables.
``` shell
$ export AYD_URL="https://ayd-external-url.example.com"
$ export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/......"
```
3. Start Ayd? server.
``` shell
$ 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. |