Notifications
gpsu sends alerts with the Shoutrrr notification library. It delivers to many services, including:
| Kind | Services |
|---|---|
| Chat | Slack, Discord, Microsoft Teams, Telegram, Matrix |
| Push | ntfy, Gotify, Pushover |
| Incident management | PagerDuty, Opsgenie |
| Email and SMS | Email (SMTP), Twilio |
The Shoutrrr services overview lists every service and its URL format. The Shoutrrr Playground builds a URL in the browser. The editor links both.
Each target is one destination with its own Shoutrrr URL. Admins add targets under Settings › Notifications or through the API.
Add a target
Fill in Add target beside the target list. Enter a name and the target’s Shoutrrr URL. The URL shows as you type it.
Choose a minimum severity
The target receives events at or above it: info, warning, or critical.
Send a test
Select Send test to check the URL and its credentials before you save. The result shows under the buttons. The URL stays in its field.
Save
Select Save. gpsu encrypts the URL and starts sending to the target.
Tests
| Test | Where | Sends to |
|---|---|---|
| A URL not saved yet | Send test in Add target | The URL as typed. Nothing is saved. |
| A new URL for a saved target | Send test in Edit target with a new URL | The new URL. The saved one stays until you select Save. |
| A saved target | Test in its row, or Send test in Edit target with the URL left empty | The saved URL |
- Each saved target allows one test every 10 seconds. Each admin allows one test of an unsaved URL every 10 seconds.
- A test follows the delivery rules. A URL they refuse isn’t sent to.
- A failed test says why in plain words. The history shows the same reason for each failed notification.
- The history lists each test. The audit log records who sent it, the target’s name, and its host.
Important
Adding targets needs the seal key. gpsu encrypts each target’s URL with it. A saved URL is never shown again. Without the key, the page shows Seal key needed in place of the editor.
Events
| Event | Severity |
|---|---|
| A temperature limit runs a server’s fans at the maximum | Critical |
| gpsu hands off to the iDRAC at a temperature limit | Critical |
| A server has no reading for three intervals in a row | Critical |
| A server’s sensors fail and gpsu can’t hand off to the iDRAC | Critical |
| gpsu stops without handing off a server’s fans to the iDRAC | Critical |
| A server’s sensors fail twice in a row | Warning |
| A scheduled backup fails | Warning |
| A critical or warning alert clears | Info |
| An override expires | Info |
| gpsu starts or stops | Info |
- In passive mode, handoff and maximum-speed alerts are warnings. They say what gpsu would have done.
- When an alert clears, gpsu names the alert and says how long it lasted.
- A single sensor failure that clears at the next reading sends nothing.
- A server with no reading for three intervals clears after three readings in a row, each within two intervals of the last.
- While a sensor failure is reported, a server’s slow readings send no alert of their own.
Targets
| Setting | Default | Description |
|---|---|---|
| Name | Names the target in the web UI and the audit log | |
| URL | The target’s Shoutrrr URL. It holds the service’s credentials. | |
| Minimum severity | Warning | The least severe event the target receives |
| Enabled | Enabled | Disabled targets receive nothing |
- gpsu encrypts each URL with the seal key. A saved URL is never shown again.
- If the key that encrypted a URL is gone, the target receives nothing. Enter its URL again to fix it.
- The audit log records only each target’s name and host.
Delivery rules
Delivery rules on Settings › Notifications limit where targets may send. The API sets them at /api/v1/notifications/policy.
| Setting | Default | Description |
|---|---|---|
| Private networks | Enabled | Lets targets reach private addresses, such as a self-hosted service on your LAN |
| Allowed services | Every service | Targets may use only the services chosen, named by URL scheme such as ntfy |
- New rules apply to every target at once.
- gpsu refuses rules that would leave an existing target’s service out. Change or delete that target first.
Priority and links
Gotify and ntfy accept a priority and a link to open. gpsu sets both:
| Service | Info | Warning | Critical | Link |
|---|---|---|---|---|
| Gotify | 2 | 5 | 8 | The server’s page |
| ntfy | low | default | high | The server’s page |
- Links need
api.publicURL. Events that aren’t about one server have no link. - Other services receive the title and message only.
Network safety
| Destination | Allowed |
|---|---|
| Public addresses | Always |
| Private addresses | While Private networks is enabled |
| Loopback, link-local, multicast, and unspecified addresses | Never |
gpsu never follows a redirect. These rules keep a target from reaching gpsu’s own host or a cloud metadata service.
Delivery
| Rule | Behavior |
|---|---|
| Queue | Each target has its own queue. A slow or broken target delays no other. |
| Burst | A target sends up to 5 notifications in quick succession. |
| After a burst | A target sends at most one notification every 3 minutes. The rate limit drops the rest. The next one sent says how many it dropped. |
| Retry | A failed send is tried again after 5 seconds. Each later wait doubles, up to 5 minutes. gpsu keeps trying for an hour. |
| Order | Notifications behind a failed send wait for it. A target receives them in the order they happened. |
| Late | A notification sent a minute or more after it happened says how long ago that was. |
Notifications never slow fan control.