This script can be used with SABnzbd to create Grafana annotation for notifications.
- Create a Service Account in Grafana and note down the API token.
- Put
notify-grafana.py
in the scripts folder of your SABnzbd installation. - Select this script as notify script.
- 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
- Send a test notification to see if everything is working