jan-di / sabnzbd-notify-grafana

SABnzbd notify script for grafana annotations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SABnzbd Notify Script for Grafana

This script can be used with SABnzbd to create Grafana annotation for notifications.

Installation

  1. Create a Service Account in Grafana and note down the API token.
  2. Put notify-grafana.py in the scripts folder of your SABnzbd installation.
  3. Select this script as notify script.
  4. Provide the following arguments as script parameters:
# Required parameters
-u <base url of grafana
-t <service account token for grafana>
-d <uid of target dashboard>

# Example:
-u https://grafana.example -t glsa-secure-token -d wikrj3jk5lk
  1. Send a test notification to see if everything is working

Example

Grafana Panel Example

More

About

SABnzbd notify script for grafana annotations

License:MIT License


Languages

Language:Python 100.0%