https://github.com/ajalab/am_line_notify_receiver
Alertmanager webhook receiver for LINE Notify
https://github.com/ajalab/am_line_notify_receiver
alertmanager line
Last synced: 3 months ago
JSON representation
Alertmanager webhook receiver for LINE Notify
- Host: GitHub
- URL: https://github.com/ajalab/am_line_notify_receiver
- Owner: ajalab
- License: mit
- Created: 2020-04-11T06:08:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-11T08:18:01.000Z (about 5 years ago)
- Last Synced: 2024-06-19T15:08:03.069Z (11 months ago)
- Topics: alertmanager, line
- Language: Go
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# am\_line_notify_receiver
An [Alertmanager](https://prometheus.io/docs/alerting/alertmanager/) webhook receiver for [LINE Notify](https://notify-bot.line.me/).
## Usage
```bash
$ am_line_notify_receiver []
```You can provide the OAuth2 token for LINE Notify either via the third command-line argument or via environmental variable `LINE_NOTIFY_TOKEN`.
## Message Template
[`Data`](https://prometheus.io/docs/alerting/notifications/#data) is passed to a message template. See [text/template doc](https://golang.org/pkg/text/template/) for the template syntax.