ayd-slack-alert

June 26, 2022 ยท View on GitHub

Slack alert sender for Ayd alive monitoring tool.

Install

  1. Download binary from release page.

  2. Save downloaded binary as ayd-slack-alert to somewhere directory that registered to PATH.

Usage

  1. Get your webhook URL.

  2. Set environment variables.

$ export AYD_URL="https://ayd-external-url.example.com"
$ export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/......"
  1. Start Ayd? server.
$ ayd -a slack: ping:your-target.example.com

Options

Set all options through environment variable.

VariableDefaultDescription
SLACK_WEBHOOK_URLSlack Incoming Webhook URL.
AYD_URLhttp://localhost:9000Ayd server address.