Find a file
semantic-release-bot 49ef21bbcd chore(release): 1.2.0
## [1.2.0](https://gitlab.com/Saibe1111/grafana-to-ntfy/compare/1.1.4...1.2.0) (2023-11-16)

###  Features

* Add panel button ([00e45ee](00e45ee26f))

### ⬆️ Upgrade dependencies

* **deps:** update openssl to 3.1.4-r1 ([6cbdd99](6cbdd99b0c))
2023-11-16 11:16:32 +00:00
docs/static/img 🐛 Bug fix 2023-07-06 22:35:02 +00:00
src feat: Add panel button 2023-11-16 11:33:07 +01:00
.dockerignore 🐛 Fix accents 2023-07-08 00:28:51 +02:00
.gitignore chore: update gitignore 2023-11-13 00:43:40 +01:00
.gitlab-ci.yml chore(deps): update node.js to v21.2.0 2023-11-16 09:42:09 +00:00
.prettierrc 🚨 Prettier 2023-03-11 19:18:35 +01:00
.releaserc.json ci: semantic release 2023-11-13 00:57:06 +01:00
CHANGELOG.md chore(release): 1.2.0 2023-11-16 11:16:32 +00:00
Dockerfile Merge branch 'openssl-to-3.1.4-r1' into 'main' 2023-11-16 10:56:55 +00:00
package-lock.json Merge branch 'renovate/prettier-3.x-lockfile' into 'main' 2023-11-16 09:39:11 +00:00
package.json chore: ci fix run release 2023-11-13 01:13:22 +01:00
README.md docs: add badges 2023-11-13 02:13:56 +01:00
renovate.json ci: Configure Renovate 2023-11-16 09:11:42 +00:00
tsconfig.json 🚧 First release 2023-03-11 17:33:00 +01:00

Logo

Grafana to Ntfy

Discord Docker GitLab

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