Pushover
The Pushover notifier sends each event to your devices through Pushover.
[notifiers.po]type = "pushover"token = "${PUSHOVER_TOKEN}"user = "${PUSHOVER_USER}"Fields
Section titled “Fields”| Key | Required | What it does |
|---|---|---|
token |
yes | The application token. Keep it out of the file; see Storing the secret. |
user |
yes | Your user key, or a group key to reach several people. |
template_path |
no | A Go template file that replaces the built-in message. |
Getting the keys
Section titled “Getting the keys”- Log in at pushover.net. Your user key is on the dashboard.
- Under Your Applications, click Create an Application/API Token.
- Name it, for example
RunWisp, and copy the API token.
Both look like azGDORePK8gMaC0QOYAMyEEuzJnyUi. Treat them as secrets.
To send some tasks to another user or group, use "po:<user key>" in notify;
see
One channel, several destinations.
What a message looks like
Section titled “What a message looks like”❌ backup-postgres failed
Exited with code 1 after 0.3s.Triggered via the REST API · 14 May, 17:11.
Error: connection refuseddial tcp 127.0.0.1:5432: connect:connection refused
from runwisp · bright-falcon- Failures and warnings use normal priority. Everything else is quiet (priority -1): no sound or vibration.
- The notification links to the run when
external_urlis set. - The last lines of output appear for failures and timeouts, when there is a log.
Changing the message
Section titled “Changing the message”Point template_path at your own Go template. Start from the built-in
pushover.tmpl.json,
a body for Pushover’s message API. Change
priority, or add sound or device. RunWisp sets token and user itself.
The template gets the same helpers as the
Slack template.
What’s rejected
Section titled “What’s rejected”- A missing
tokenoruser.