Temporary fork of https://gitlab.com/Saibe1111/grafana-to-ntfy until our changes are merged (if they would be)
https://gitlab.com/Saibe1111/grafana-to-ntfy/-/merge_requests/15
docs/static/img | ||
src | ||
.dockerignore | ||
.gitignore | ||
.gitlab-ci.yml | ||
.prettierrc | ||
docker-compose.dev.yml | ||
Dockerfile | ||
package-lock.json | ||
package.json | ||
README.md | ||
tsconfig.json |
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: