1.6 KiB
1.6 KiB
Grafana to Ntfy
Summary
Example
Here is an example of a notification.
Installation
Docker compose
version: '3.8'
services:
grafana:
container_name: grafana
image: grafana/grafana
restart: always
ports:
- '3003:3000'
grafana-to-ntfy:
container_name: grafana-to-ntfy
image: saibe1111/grafana-to-ntfy
restart: unless-stopped
environment:
NTFY_TOPIC: grafana-custom-alert-topic
Variables
Variable | Usage | Default value | Required |
---|---|---|---|
NTFY_TOPIC | Topic name | grafana | ❌ |
NTFY_SERVER | URL of the ntfy server | https://ntfy.sh | ❌ |
NTFY_TOKEN | Access tokens Docs | / | ❌ |
Grafana configuration
You just need to add a webhook contact point as below: