SPB Git

Repository Public

alerts.ts 11.9 KB 146 lines typescript

1/**2 * =============================================================================3 *                  SP BOUCHER | INFRASTRUCTURE & AUTOMATION4 *             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING5 * =============================================================================6 *7 * Project          : MacLustr Command Center (MCC)8 * File             : apps/web/src/i18n/en/alerts.ts9 * Module           : i18n10 * Repository       : https://git.spboucher.ai/maclustr-command-center11 * Project Website  : https://clustr.spboucher.ai12 * Created          : 2026-11-1813 * Last Modified    : 2026-11-1814 *15 * Author           : Simon-Pierre Boucher16 * Position         : Professor of Finance17 * Institution      : Université du Québec en Outaouais (UQO)18 * Organization     : SP Boucher19 * Website          : https://spboucher.ai20 * Git              : https://git.spboucher.ai21 *22 * Preferred Contact: admin@spboucher.ai23 * Technical Contact: dev@spboucher.ai24 * Security/Admin   : admin@spboucher.ai25 *26 * Copyright (c) 202627 * Simon-Pierre Boucher28 * All rights reserved where applicable. This file is governed by the29 * applicable project license, copyright notices and relevant law.30 * Existing third-party rights and notices remain unaffected.31 *32 * License          : None specified (no license file in this repository)33 *34 * Do not embed credentials, private keys, access tokens,35 * certificates or confidential personal information.36 *37 * =============================================================================38 * END OF SP BOUCHER SOURCE HEADER39 * =============================================================================40 */4142import type { Shape } from "../types";43import type { alerts as fr } from "../fr/alerts";4445export const alerts: Shape<typeof fr> = {46  title: "Alerts",47  sub: "Alerts, incidents, rules and silences. States and suppressions are decided by the server.",48  tab: { alerts: "Alerts", incidents: "Incidents", rules: "Rules", silences: "Silences" },49  someone: "someone", noNode: "No node", noLabel: "No label", noIncident: "None", notAcked: "Not acknowledged",50  refreshFailed: "Refresh failed: the list shown is the last received.",51  col: {52    severity: "Severity", rule: "Rule", summary: "Summary", label: "Label", lastValue: "Last value", since: "Since", flaps: "Flaps",53    suppressed: "Notifications", incident: "Incident", ackBy: "Acknowledged by",54  },55  filter: { state: "Alert state", open: "Open", anySeverity: "Any severity", anyNode: "Any node", anyRule: "Any rule" },56  suppression: { none: "Active", silence: "Suppressed by a silence", maintenance: "Suppressed by maintenance" },57  empty: {58    nothingFiring: "Nothing is firing", nothingFiringBody: "No open alert matches. Check that the rules cover what you want to watch.",59    noMatch: "No alert matches", noMatchBody: "Nothing for these filters.", resetFilters: "Reset filters", seeRules: "View rules",60  },61  bulk: {62    label: "Actions on the selection", selected: { one: "{count} alert selected", other: "{count} alerts selected" }, selectOne: "Select {name}",63    ack: "Acknowledge selected", incident: "Create incident from selection", clear: "Clear selection", resultTitle: "Acknowledging the selection",64    progress: "{done} of {total} processed", ok: "Acknowledged", failed: "Not processed", skipped: "state “{state}”: nothing to acknowledge",65  },66  ack: { action: "Acknowledge", title: "Acknowledge the alert", body: "You state that someone is on it. The alert stays open until it is resolved.", done: "Alert acknowledged" },67  resolve: { action: "Resolve", title: "Resolve the alert manually", body: "If the condition still holds, the rule opens a new alert at its next evaluation.", done: "Alert resolved" },68  transition: { comment: "Comment (optional)" },69  comment: {70    label: "Add a comment", hint: "Plain text; http(s) addresses become links. ⌘↵ or Ctrl+↵ to send.", submit: "Comment", added: "Comment added",71    needAck: "Commenting requires the permission alerts.ack.",72  },73  timeline: {74    title: "Timeline", empty: "No event yet.", system: "system",75    kind: {76      opened: "Opened", fired: "Fired", acknowledged: "Acknowledged", resolved: "Resolved", reopened: "Reopened", comment: "Comment", suppressed: "Notifications suppressed",77      notified: "Notification sent", state_changed: "State changed", alert_linked: "Alert linked", alert_unlinked: "Alert unlinked", owner_changed: "Owner changed",78    },79  },80  detail: {81    title: "Alert", back: "All alerts", facts: "Details", fingerprint: "Fingerprint", copyFingerprint: "Copy fingerprint", started: "Condition observed", fired: "Fired",82    acknowledged: "Acknowledged", resolved: "Resolved", lastEval: "Last evaluation", notYet: "not yet", silence: "Silence this", createIncident: "Create incident",83    silenceReason: "Silence for “{rule}”",84    suppressedBody: {85      silence: "A silence covers this alert: it is tracked, but no notification is sent.",86      maintenance: "The node is in a maintenance window: the alert is tracked, but no notification is sent.",87    },88  },89  error: { conflict: "The state changed meanwhile, or the operation is not allowed on this item." },90  form: {91    required: "This field is required.", number: "A number is expected.", duration: "Duration not understood. Examples: 30 s, 5 min, 1 h 30.", durationMax: "Maximum: 24 h.",92    tooLong: "Text too long.", scopeEmpty: "Choose at least one item.", invalid: "Invalid date.", endBeforeStart: "End must be after start.", endPast: "End must be in the future.",93  },94  scope: {95    label: "Scope", all: "All nodes", nodes: "Chosen nodes", tags: "Tags", pickNodes: "Nodes", tagsHint: "Node tags separated by commas.", empty: "Empty scope",96    more: { one: "+ {count} more", other: "+ {count} more" }, nodesNotAvailable: "The node list is not available on this server yet.", nodesError: "The node list could not be loaded.",97  },98  incident: {99    new: "New incident", create: "Open incident", createTitle: "Open an incident", createBody: "An incident groups alerts and keeps track of what was done.",100    fromAlerts: { one: "{count} alert will be linked to the incident.", other: "{count} alerts will be linked to the incident." }, created: "Incident opened", view: "View incident",101    title: "Title", summary: "Summary", owner: "Owner", ownerHint: "Optional.", assignMe: "Make me the owner", noOwner: "No owner", alertCount: "Alerts",102    opened: "Opened", resolved: "Resolved", notResolved: "Not resolved", duration: "Duration", noSummary: "No summary", emptyTitle: "No incident", emptyBody: "Open an incident from selected alerts, or directly here.",103    detailTitle: "Incident", back: "All incidents", facts: "Details", setState: "Incident state", stateChanged: "Incident: {state}", updated: "Incident updated", editTitle: "Edit incident",104    take: "Take ownership", assign: "Assign…", ownerChanged: "Owner changed", linked: "Linked alerts", linkedToast: "Alerts linked to the incident", unlinked: "Alert unlinked", unlinkNamed: "Unlink {name}",105    noAlerts: "No linked alert", noAlertsBody: "Link the alerts that belong to this incident to follow them together.", addAlerts: "Link alerts", addAlertsBody: "Open alerts without an incident, to link to “{title}”.",106    addCount: { one: "Link {count} alert", other: "Link {count} alerts" }, candidates: "Open alerts without an incident", noCandidates: "No open alert without an incident.",107  },108  rule: {109    intro: "A rule opens an alert when its condition holds for the requested duration, on each node of its scope.", new: "New rule", create: "Create rule",110    createTitle: "New alert rule", createBody: "Check it against history before saving.", editTitle: "Edit rule", viewTitle: "Alert rule", created: "Rule created", saved: "Rule saved",111    deleted: "Rule deleted", deleteTitle: "Delete this rule?", deleteBody: "“{name}” will be deleted and its open alerts resolved.", deleteNamed: "Delete {name}", editNamed: "Edit {name}",112    viewNamed: "View {name}", emptyTitle: "No rule", emptyBody: "Without rules, no alert can fire.", builtin: "built-in",113    builtinNote: "Built-in rule: only enabling, thresholds, durations, severity, scope and notification can be changed. It cannot be deleted, only disabled.",114    readOnly: "Read-only: changing rules requires the permission alerts.manage.", kindLabel: "Kind", kindFixed: "The kind of an existing rule does not change.",115    kind: { threshold: "Threshold", absence: "Absence", service_state: "Service state" },116    kindHelp: {117      threshold: "Compares a metric with a threshold.", absence: "Fires when a node stops reporting for the given duration.",118      service_state: "Fires when a managed service is errored or stopped.",119    },120    conditionOf: { threshold: "Threshold", absence: "Node not reporting", service_state: "Managed service errored or stopped" },121    condition: "Condition", metric: "Metric", metricHint: "Catalog name, for example cpu.usage.", catalogNotAvailable: "The metric catalog is not available yet: type the metric name.",122    catalogError: "The metric catalog could not be loaded: type the metric name.", op: "Comparison",123    ops: { gt: "greater than", gte: "greater than or equal to", lt: "less than", lte: "less than or equal to" }, opSymbol: { gt: ">", gte: "≥", lt: "<", lte: "≤" },124    threshold: "Threshold", unitHint: "Metric unit: {unit}.", clearThreshold: "Clear threshold (optional)", clearThresholdHint: "Hysteresis; defaults to the threshold.",125    labelMatch: "Label", labelMatchHint: "Exact label (volume, interface, target) or * for all.", for: "Duration before firing", forAbsence: "Duration without report",126    clear: "Duration before resolving", clearHint: "The condition must be clear this long.", durationHint: "Examples: 30 s, 5 min, 1 h 30. Maximum 24 h.", forClear: "Fire / clear",127    enabled: "Enabled", enabledFor: "Enable {name}", enabledToast: "Rule enabled: {name}", disabledToast: "Rule disabled: {name}", notify: "Notify", notifyHint: "Send the notifications of this rule.",128  },129  preview: {130    title: "Validate on history", period: "Evaluation period", run: "Evaluate", help: "Dry run: nothing is stored and no alert is opened.",131    firings: "Firings", nodesEvaluated: "Nodes evaluated", nodesWithoutData: "Nodes without data", resolution: "Resolution", none: "The rule would not have fired",132    noneBody: "No firing interval over the evaluated period.", intervals: "Firing intervals", start: "Start", end: "End", stillFiring: "still firing", duration: "Duration", peak: "Peak",133    stripAria: { one: "{count} firing across {nodes} nodes; details follow in the table.", other: "{count} firings across {nodes} nodes; details follow in the table." },134  },135  silence: {136    new: "New silence", create: "Create silence", createTitle: "Suppress notifications", createBody: "Covered alerts stay tracked and visible; only their notifications are suppressed.", created: "Silence created",137    reason: "Reason", reasonHint: "Required; visible to everyone.", rule: "Rule (optional)", ruleHint: "Empty: every rule.", allRules: "Every rule",138    rulesNotAvailable: "The rule list is not available on this server yet.", rulesError: "The rule list could not be loaded.", starts: "Start", startsHint: "Empty: now.",139    duration: "Duration", h1: "1 h", h4: "4 h", h24: "24 h", custom: "Until…", ends: "End", zone: "Times are entered in the browser time zone: {zone}.", window: "Period", origin: "Origin",140    fromMaintenance: "Maintenance window", byYou: "you", active: "Active", upcoming: "Upcoming", ended: "Ended", filter: "Silences shown", onlyActive: "Active",141    emptyActive: "No active silence", emptyAll: "No silence", emptyBody: "A silence suppresses the notifications of a scope for a limited time, for example during an intervention.",142    delete: "Delete silence", deleteNamed: "Delete the silence “{reason}”", deleteTitle: "End this silence?", deleteBody: "Notifications of the covered alerts resume immediately.", deleted: "Silence deleted",143    ownedByMaintenance: "This silence belongs to a maintenance window: manage it from the Maintenance screen.",144  },145};146
Files main
Menu

Theme