This repository has been archived on 2026-03-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
alerttonotify/README.md

28 lines
584 B
Markdown

# alerttonotify
Receives Alertmanager webhook notifications and forwards them via NATS to a dbus notification service.
## Configuration
All configuration is via environment variables:
| Variable | Required | Description |
|---|---|---|
| `NATS_URL` | Yes | NATS server URL |
| `NATS_NKEY` or `NATS_NKEY_FILE` | Yes | NKey seed for NATS authentication |
| `ALERTTONOTIFY_ADDR` | No | HTTP listen address (default `:5001`) |
## Building
```bash
# With Go
go build -v ./...
# With Nix
nix build
```
## Usage
Point an Alertmanager webhook receiver at `http://<host>:5001/alert`.