Custom notify hooks for See
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

858 B

Custom notify hooks for See

Set notification for Gotify Webhooks

First create a new app token in your Gotify instance, then set it in your systems environment:

export GOTIFY_WEBHOOK_URL="..." # e.g. (don't use a trailing slash!)
export GOTIFY_TOKEN="..."

Make sure the file is in ~/

OK, let's set notification hook: --set-notify  --notify-hook gotify

The GOTIFY_WEBHOOK_URL and GOTIFY_TOKEN will be saved in ~/ and will be reused when needed.

The priority of Gotify message is set based on the returned status code:

  • success: normal priority (4)
  • error: high priority (8)
  • skipped: low priority (1)