Find a file
Sébastien CUVELLIER acdc9a13d1 🐛 Bug fix
2023-07-06 22:35:02 +00:00
docs/static/img 🐛 Bug fix 2023-07-06 22:35:02 +00:00
src 🐛 Bug fix 2023-07-06 22:35:02 +00:00
.dockerignore ⬇️ node-fetch: 2.6.1 2023-07-06 22:31:04 +02:00
.gitignore 🐛 Fix 2023-03-11 18:43:37 +01:00
.gitlab-ci.yml 🚑 DOCKER_IMAGE 2023-03-11 19:36:10 +01:00
.prettierrc 🚨 Prettier 2023-03-11 19:18:35 +01:00
docker-compose.dev.yml ⬇️ node-fetch: 2.6.1 2023-07-06 22:31:04 +02:00
Dockerfile Healthcheck 2023-03-11 18:09:59 +01:00
package-lock.json 🐛 Bug fix 2023-07-06 22:35:02 +00:00
package.json 🐛 Bug fix 2023-07-06 22:35:02 +00:00
README.md 🐛 Bug fix 2023-07-06 22:35:02 +00:00
tsconfig.json 🚧 First release 2023-03-11 17:33:00 +01:00

Logo

Grafana to Ntfy

Summary

Example

Here is an example of a notification.

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:

Grafana

Setup a Grafana rule

Title

The title is the name of the Grafana alert.

Grafana Grafana

Description

The description is based on the Grafana summary.

Grafana Grafana

Tags

Tags are the name of the alert, the name of the folder and the labels.

Grafana Grafana Grafana

Dashboard button

The "Dashboard" button corresponds to a Grafana dashboard.

Grafana Grafana