Added Pushover notification

This commit is contained in:
Magnus Åhall 2024-07-04 19:21:02 +02:00
parent 5d24baedac
commit 257a4968ec
5 changed files with 246 additions and 2 deletions

View file

@ -120,7 +120,7 @@ Problems can be acknowledged if they are known problems that will not be current
## Notifications
Smon has a couple of notification services (currently [[https://ntfy.sh|NTFY]] and script).
Smon has a couple of notification services (currently [[https://ntfy.sh|NTFY]], [[https://pushover.net|Pushover]] and script).
Services are added with a prio. The service with the lowest prio is tried first. \
If sending through the service fails, the next service is tried and so on until one succeeds.
@ -134,6 +134,10 @@ What is sent isn't configurable (for now). What is sent is:
An URL is provided to the topic which should receive the notifications.
## Pushover
The user key and API key for the Pushover application is needed. Additionally, a device key can be specified as well.
## Script
The script service is defined with a filename.
@ -161,4 +165,4 @@ A couple of small notes on development.
* Add theme to select tag in `/views/pages/configuration.gotmpl`.
* Create `/static/less/theme-<theme-name>.less`.
* Create `/static/less/<theme-name>.less`.
* Copy a theme directory under `/static/images/` to the new name.
* Copy a theme directory under `/static/images/` to the new name.