Notify when a game server is turned on or off

A read of a Fragnet account that shows a server on (running or starting) after
it was off, or off (stopped or stopping) after it was on, sends one message
through the configured channels and routing rules, a line for each server.
A server first seen, one whose state is unknown and one being installed or
moved say nothing. Switch: Settings -> Notifications -> What to send (on by
default).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
bobbanandClaude Sonnet 5.5 committed 2026-11-10 18:56:24 +01:00
1 parent 4d653f5a80
commit 5c6ccc0a4b
10 files changed
+193 -5

No files matched your search

+1
View File
@@ -549,6 +549,7 @@ export interface NotificationEvents {
healthAlerts: boolean;
automationAlerts: boolean;
updateRunResults: boolean;
gameServerPower: boolean;
domainExpiryCheck: boolean;
secretCheckTime: string;
timezone: string;
@@ -70,6 +70,7 @@ const DEFAULT_NOTIFICATIONS: NotificationEvents = {
healthAlerts: true,
automationAlerts: true,
updateRunResults: true,
gameServerPower: true,
domainExpiryCheck: true,
secretCheckTime: "08:00",
timezone: "UTC",
@@ -1084,6 +1085,7 @@ export default function NotificationSettings() {
/>
<div className="mt-3">{toggle("automationAlerts", "Semaphore template or Gitea workflow run failed")}</div>
<div className="mt-3">{toggle("updateRunResults", "An update run you started finished, or didn't")}</div>
<div className="mt-3">{toggle("gameServerPower", "A game server (Fragnet) was turned on or off")}</div>
</div>
</div>
</div>