Put alert rules, service levels, notifications and alert tickets on one Alert settings page, in four tabs
Old addresses (/alert-rules, /service-levels, /settings/notifications) lead to the right tab. Notifications and Alert tickets stay administrator-only. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
07ce2b0305
commit
4269213275
40 files changed
+212
-188
No files matched your search
@@ -74,15 +74,15 @@ export function mostWithin(times: number[], windowMs: number): number {
|
||||
/** What to try, from the kind of alert and the key it has. Plain advice; nothing it says is done for anyone. */
|
||||
export function hintFor(category: string, alertId: string): string {
|
||||
const key = keyOfAlertId(alertId, category);
|
||||
if (key.startsWith("rule:")) return "A limit of your own (Monitoring → Alert rules): if it keeps coming back, raise the limit or make it hold for longer before it raises.";
|
||||
if (key.startsWith("rule:")) return "A limit of your own (Alert settings → Alert rules): if it keeps coming back, raise the limit or make it hold for longer before it raises.";
|
||||
if (key.startsWith("new-port:")) return "If this port should be listening, mark it as expected on the server's Ports card.";
|
||||
if (key.startsWith("heartbeat")) return "If the job is just sometimes late, give its heartbeat more grace; if it fails, look at what it printed.";
|
||||
if (key.startsWith("endpoint:")) return "Raise “Alert after … failures in a row” on the check, or its timeout or interval — or fix what is making it fail.";
|
||||
if (key.startsWith("endpoint-cert:")) return "Renew the certificate, or lower how early the check warns.";
|
||||
if (key.startsWith("failed-units:")) return "If a service is expected to fail, add it to “Services to ignore” on the server's Host health card; otherwise fix the service.";
|
||||
if (key.startsWith("disk-forecast:") || category === "disk") return "Raise the limit for this disk (a server can have its own, per disk), or leave it alone on the server's page if it is meant to be full.";
|
||||
if (category === "offline") return "If the server is just slow to report, raise “Server offline after” under Settings → Notifications, or give this server its own limit.";
|
||||
if (category === "integration") return "Raise “Alert after … consecutive failures” under Settings → Notifications; the Call log (Integrations) shows what is failing.";
|
||||
if (category === "offline") return "If the server is just slow to report, raise “Server offline after” under Alert settings → Notifications, or give this server its own limit.";
|
||||
if (category === "integration") return "Raise “Alert after … consecutive failures” under Alert settings → Notifications; the Call log (Integrations) shows what is failing.";
|
||||
if (category === "backup") return "A guest that is backed up late each time may need its “too old” limit raised on its server, or its job moved.";
|
||||
return "Acknowledge it with a note, silence it with maintenance while you work on it, or fix what raises it.";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user