ayd-slack-alert

command module
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: MIT Imports: 9 Imported by: 0

README

ayd-slack-alert

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.

Variable Default Description
SLACK_WEBHOOK_URL Slack Incoming Webhook URL.
AYD_URL http://localhost:9000 Ayd server address.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL