hub v0.118.0: the household's e-mails follow the household's language (R-558 Part A)
gates / gates (push) Successful in 23s

The hub has written every customer e-mail in Hungarian whatever the box was set
to. The box has published its language since controller v0.247.0; nothing read
it. Now it does.

Nothing an operator reads changes. The Hungarian mails are byte-identical, and
that is a diff rather than a reading: 56 goldens per language captured from
v0.117.0 BEFORE any string moved, and all 56 Hungarian ones pass unchanged after
every sentence was routed through the new bundle.

- internal/i18n: flat bundle, 79 keys, hu authoritative + hu fallback, ceiling 0.
- customerMessages/severityLabels are DERIVED from the bundle, so a sentence is
  written in one place and all 40+ tests that read those maps still work.
- Language order: last reported -> created-with -> hu. reports.language defaults
  to EMPTY, never hu: "never told us" is not "chose Hungarian".
- message_customer on POST /api/v1/event, additive and optional forever, for the
  sentences the box composes and the hub cannot translate.
- The bind page is per-language, and its `expired` state stays Hungarian: it is
  the state an unknown token lands in, so rendering a real English customer's
  token in English would make the LANGUAGE answer what the TEXT refuses to.

Two defects found inside the release:
- R-581: the newest report was picked by received_at, which has SECOND
  granularity, so same-second reports tied and the winner was arbitrary. Ordered
  by the autoincrement id now. GetCustomers() still has the shape - row open.
- R-582: the English copy-guard stems, ported word for word from Hungarian,
  convicted 141 honest sentences. The English claim is a phrase with a modal.

R-555 closed: the language allowlist entry is out of wire_contract_gate.py.
hub_copy_gate.py follows the sentences into the bundle - without that it would
have scanned four files that no longer hold any customer text and reported
success. Three new decoys incl. an innocent control.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
adminandClaude Opus 5 committed 2026-09-18 16:20:11 +02:00
1 parent 20aafc3dec
commit 9167cf53af
150 files changed
+4063 -410

No files matched your search

+31 -8
View File
@@ -107,7 +107,28 @@ func severityNotifies(severity string) bool {
// ProcessEvent evaluates an event and sends notifications as appropriate.
// Safe to call from goroutines.
//
// This is the HUB-GENERATED entry point: the hub composed `message` itself (a checker, a staleness
// sweep, an escrow decision), so there is no second sentence to carry and the customer mail is
// rendered from the bundle alone.
func (d *Dispatcher) ProcessEvent(customerID, eventType, severity, message, detailsJSON, source string) {
d.processEvent(customerID, eventType, severity, message, "", detailsJSON, source)
}
// ProcessBoxEvent is the entry point for an event a BOX sent (POST /api/v1/event).
//
// `messageCustomer` is the box's own sentence in the household's language, sent beside the Hungarian
// `message` by controller v0.256.0 and later (R-558). It is optional forever — an older box sends
// none and the mail is then exactly what it was.
//
// Kept SEPARATE from ProcessEvent rather than added as a parameter to it: 44 of the 45 call sites
// are hub-generated and have no such sentence, and widening all of them would have meant 44 edits
// whose only content is an empty string — churn that hides the one call site that matters.
func (d *Dispatcher) ProcessBoxEvent(customerID, eventType, severity, message, messageCustomer, detailsJSON, source string) {
d.processEvent(customerID, eventType, severity, message, messageCustomer, detailsJSON, source)
}
func (d *Dispatcher) processEvent(customerID, eventType, severity, message, messageCustomer, detailsJSON, source string) {
if d.resendAPIKey == "" {
return
}
@@ -122,7 +143,7 @@ func (d *Dispatcher) ProcessEvent(customerID, eventType, severity, message, deta
// branch: *_recovered stays severity "info" (semantics frozen), but is no longer silent.
// Operator always hears both edges; the customer hears recovery iff they heard the down.
if _, isRecovery := recoveredPairedDownTypes[eventType]; isRecovery {
d.processRecovery(customerID, eventType, severity, message, detailsJSON, source)
d.processRecovery(customerID, eventType, severity, message, messageCustomer, detailsJSON, source)
return
}
@@ -167,7 +188,7 @@ func (d *Dispatcher) ProcessEvent(customerID, eventType, severity, message, deta
d.processOperator(customerID, eventType, severity, message, detailsJSON, source)
// Customer channel
d.processCustomer(customerID, eventType, severity, message, detailsJSON, source)
d.processCustomer(customerID, eventType, severity, message, messageCustomer, detailsJSON, source)
}
func (d *Dispatcher) sendTestEmail(customerID string) {
@@ -219,7 +240,7 @@ Dashboard: https://hub.felhom.eu/customers/%s`, customerID, customerID)
// - Customer leg: gated by the PAIRING rule, not enabled_events — "recovery notifies exactly
// whoever the down notified." Evidence = a customer-channel status=sent row for the paired
// stale/down set newer than the last customer-channel sent recovery of this type.
func (d *Dispatcher) processRecovery(customerID, eventType, severity, message, detailsJSON, source string) {
func (d *Dispatcher) processRecovery(customerID, eventType, severity, message, messageCustomer, detailsJSON, source string) {
d.processOperator(customerID, eventType, severity, message, detailsJSON, source)
if d.store.IsCustomerBlocked(customerID) {
@@ -263,7 +284,8 @@ func (d *Dispatcher) processRecovery(customerID, eventType, severity, message, d
d.custCooldowns[cooldownKey] = time.Now()
d.mu.Unlock()
subject, body := FormatCustomerEmail(customerID, eventType, severity, message, detailsJSON)
subject, body := FormatCustomerEmail(d.store.CustomerLanguage(customerID),
customerID, eventType, severity, message, messageCustomer, detailsJSON)
if err := d.sendEmailFn(prefs.Email, subject, body, priorityHeaders(severity)); err != nil {
d.logger.Printf("[ERROR] Customer recovery email failed for %s/%s: %v", customerID, eventType, err)
d.store.LogNotification(customerID, eventType, severity, message, "failed", err.Error(), "customer")
@@ -609,7 +631,7 @@ var operatorOnlyEvents = map[string]bool{
// Read-only: the register itself stays unexported so nothing can widen it at runtime.
func IsOperatorOnly(eventType string) bool { return operatorOnlyEvents[eventType] }
func (d *Dispatcher) processCustomer(customerID, eventType, severity, message, detailsJSON, source string) {
func (d *Dispatcher) processCustomer(customerID, eventType, severity, message, messageCustomer, detailsJSON, source string) {
// R-97c: operator-tier events stop here, BEFORE prefs are consulted — the point is that no
// customer configuration can opt in. Logged rather than dropped, so the skip is visible in
// notification_log instead of looking like a delivery that never happened.
@@ -652,7 +674,8 @@ func (d *Dispatcher) processCustomer(customerID, eventType, severity, message, d
d.custCooldowns[cooldownKey] = time.Now()
d.mu.Unlock()
subject, body := FormatCustomerEmail(customerID, eventType, severity, message, detailsJSON)
subject, body := FormatCustomerEmail(d.store.CustomerLanguage(customerID),
customerID, eventType, severity, message, messageCustomer, detailsJSON)
if err := d.sendEmailFn(prefs.Email, subject, body, priorityHeaders(severity)); err != nil {
d.logger.Printf("[ERROR] Customer email failed for %s/%s: %v", customerID, eventType, err)
@@ -718,7 +741,7 @@ func (d *Dispatcher) SendClaimEmail(kind, customerID, email, domain, code string
d.logger.Printf("[ERROR] claim %s email for %s NOT sent: no Resend API key configured", kind, customerID)
return fmt.Errorf("notify: no resend api key")
}
subject, body := FormatClaimEmail(kind, customerID, domain, code)
subject, body := FormatClaimEmail(d.store.CustomerLanguage(customerID), kind, customerID, domain, code)
eventType := "claim_" + kind
if err := d.sendEmailFn(email, subject, body, nil); err != nil {
d.logger.Printf("[ERROR] claim %s email to customer %s failed: %v", kind, customerID, err)
@@ -740,7 +763,7 @@ func (d *Dispatcher) SendSelfBindEmail(customerID, email, link string) error {
d.logger.Printf("[ERROR] self-bind link email for %s NOT sent: no Resend API key configured", customerID)
return fmt.Errorf("notify: no resend api key")
}
subject, body := FormatSelfBindEmail(customerID, link)
subject, body := FormatSelfBindEmail(d.store.CustomerLanguage(customerID), customerID, link)
if err := d.sendEmailFn(email, subject, body, nil); err != nil {
d.logger.Printf("[ERROR] self-bind link email to customer %s failed: %v", customerID, err)
d.store.LogNotification(customerID, "selfbind_link", "info", subject, "failed", err.Error(), "customer")
@@ -127,9 +127,9 @@ func TestRecovery_FlapDamping(t *testing.T) {
d := NewDispatcher(st, "test-key", "from@felhom.eu", "op@felhom.eu", true, log.New(io.Discard, "", 0))
sent := captureSeam(d)
d.ProcessEvent("c1", "node_down", "error", "down", "{}", "hub") // down #1: cust+op mailed
d.ProcessEvent("c1", "node_recovered", "info", "up", "{}", "hub") // recovery #1: cust+op mailed
d.ProcessEvent("c1", "node_down", "error", "down", "{}", "hub") // down #2 10min later: customer
d.ProcessEvent("c1", "node_down", "error", "down", "{}", "hub") // down #1: cust+op mailed
d.ProcessEvent("c1", "node_recovered", "info", "up", "{}", "hub") // recovery #1: cust+op mailed
d.ProcessEvent("c1", "node_down", "error", "down", "{}", "hub") // down #2 10min later: customer
// cooldown suppresses (op too, 1h)
// Clear the recovery CUSTOMER cooldown so the pairing gate — not the cooldown — decides #2:
d.mu.Lock()
+18 -3
View File
@@ -56,7 +56,12 @@ func TestProcessEvent_PoolBoxScopeOperatorOnly(t *testing.T) {
d := NewDispatcher(st, "test-key", "from@felhom.eu", "op@felhom.eu", true, log.New(io.Discard, "", 0))
var mu sync.Mutex
var sent []string
d.sendEmailFn = func(to, _, _ string, _ map[string]string) error { mu.Lock(); defer mu.Unlock(); sent = append(sent, to); return nil }
d.sendEmailFn = func(to, _, _ string, _ map[string]string) error {
mu.Lock()
defer mu.Unlock()
sent = append(sent, to)
return nil
}
d.ProcessEvent("pool-box", "offsite_box_fill", "warning", "Offsite pool box 82% full", `{"scope":"pool-box"}`, "hub")
if len(sent) != 1 || sent[0] != "op@felhom.eu" {
@@ -71,7 +76,12 @@ func TestProcessEvent_PBSDRBoxScopeOperatorOnly(t *testing.T) {
d := NewDispatcher(st, "test-key", "from@felhom.eu", "op@felhom.eu", true, log.New(io.Discard, "", 0))
var mu sync.Mutex
var sent []string
d.sendEmailFn = func(to, _, _ string, _ map[string]string) error { mu.Lock(); defer mu.Unlock(); sent = append(sent, to); return nil }
d.sendEmailFn = func(to, _, _ string, _ map[string]string) error {
mu.Lock()
defer mu.Unlock()
sent = append(sent, to)
return nil
}
d.ProcessEvent("pbsdr-box", "pbsdr_box_fill", "warning", "PBS DR datastore 82% full", `{"scope":"pbsdr-box"}`, "hub")
if len(sent) != 1 || sent[0] != "op@felhom.eu" {
@@ -85,7 +95,12 @@ func TestProcessEvent_CriticalRoutes(t *testing.T) {
d := NewDispatcher(st, "test-key", "from@felhom.eu", "op@felhom.eu", true, log.New(io.Discard, "", 0))
var mu sync.Mutex
var sent []string
d.sendEmailFn = func(to, _, _ string, _ map[string]string) error { mu.Lock(); defer mu.Unlock(); sent = append(sent, to); return nil }
d.sendEmailFn = func(to, _, _ string, _ map[string]string) error {
mu.Lock()
defer mu.Unlock()
sent = append(sent, to)
return nil
}
d.ProcessEvent("c1", "host_disk_critical", "critical", "root full", "{}", "hub")
if len(sent) != 1 || sent[0] != "op@felhom.eu" {
+125
View File
@@ -0,0 +1,125 @@
package notify
import (
"strings"
"testing"
"gitea.dooplex.hu/admin/felhom-hub/internal/i18n"
)
// Localisation slice 3 (R-558) — the behaviour the bundle exists to produce.
//
// The goldens next door prove WHAT each mail says. These prove WHICH ONE a household gets, and that
// the operator's copy never moves.
// S3 — the box's own sentence.
//
// Roughly a third of the customer mails carry a sentence the BOX composed, naming a drive or an app
// or a number. The hub cannot translate one, so the box sends a second copy in the household's
// language. This is the test that the second copy is actually preferred — and that its absence
// leaves the mail exactly as it was, which is the state of every box in the fleet until the
// controller half ships.
func TestMessageCustomerPreferredForTheHousehold(t *testing.T) {
const hunSentence = "A /mnt/adat lemez 91%-ig megtelt (12,4 GB szabad)."
const engSentence = "The /mnt/adat disk is 91% full (12.4 GB free)."
// disk_warning has NO bundle entry on purpose, so the box's sentence IS the mail.
subject, body := FormatCustomerEmail("en", "c1", "disk_warning", "warning", hunSentence, engSentence, "")
if !strings.Contains(body, engSentence) {
t.Errorf("the English household's mail does not carry the English sentence:\n%s", body)
}
if strings.Contains(body, hunSentence) {
t.Errorf("the English household's mail still carries the Hungarian sentence:\n%s", body)
}
if !strings.Contains(subject, engSentence) {
t.Errorf("the subject is not the English sentence: %q", subject)
}
// The OPERATOR's mail is built from `message` and is untouched by any of this.
opSubject, opBody := FormatOperatorEmail("c1", "disk_warning", "warning", hunSentence, "")
if !strings.Contains(opBody, hunSentence) {
t.Errorf("the operator's mail lost the Hungarian sentence:\n%s", opBody)
}
if strings.Contains(opBody, engSentence) || strings.Contains(opSubject, engSentence) {
t.Error("the English sentence leaked into the operator's mail")
}
}
// S3, the other half: an old controller sends no second sentence, and the mail must be byte-for-byte
// what it is today. Compared against the RENDER WITH NO NEW FIELD AT ALL, not against a retyped
// expectation — a retyped one would pass even if both sides changed together.
func TestMessageCustomerAbsentIsExactlyToday(t *testing.T) {
const hunSentence = "A /mnt/adat lemez 91%-ig megtelt (12,4 GB szabad)."
subject, body := FormatCustomerEmail(i18n.Default, "c1", "disk_warning", "warning", hunSentence, "", "")
if !strings.Contains(body, hunSentence) || !strings.Contains(subject, hunSentence) {
t.Fatalf("an absent message_customer lost the box's sentence:\n%s\n%s", subject, body)
}
// And a Hungarian household that DOES get a second sentence gets the Hungarian one, because the
// box sends the same text twice. The point is that nothing about the hu path depends on it.
s2, b2 := FormatCustomerEmail(i18n.Default, "c1", "disk_warning", "warning", hunSentence, hunSentence, "")
if s2 != subject || b2 != body {
t.Error("a Hungarian household's mail changed when the box sent the sentence twice")
}
}
// The entry still WINS over the box's sentence, in both languages — the property that keeps the
// dynamic-message types (disk_warning and friends) working, stated from the other direction.
func TestEntryWinsAndTheBoxSentenceBecomesItsOwnLine(t *testing.T) {
const hun = "A cel nincs beallitva."
const eng = "The target is not set."
_, body := FormatCustomerEmail("en", "c1", "backup_failed", "error", hun, eng, "")
headline := i18n.Shared().Msg("en", "mail.event.backup_failed")
if !strings.Contains(body, headline) {
t.Errorf("the English entry is not the headline:\n%s", body)
}
if !strings.Contains(body, eng) {
t.Errorf("the box's English sentence is not on its own line:\n%s", body)
}
if strings.Contains(body, hun) {
t.Errorf("the Hungarian sentence reached an English household:\n%s", body)
}
// The line label is translated too — an English mail must not say "Üzenet".
if strings.Contains(body, "Üzenet") {
t.Errorf("the English mail carries the Hungarian field label:\n%s", body)
}
}
// Every mail kind actually differs between the two languages. Without this, a key that silently fell
// back to Hungarian would pass every other test here: the mail sends, it just sends in the wrong
// language, which is the exact defect this slice exists to remove.
func TestEveryCustomerMailDiffersBetweenLanguages(t *testing.T) {
for _, c := range customerMailCases("hu") {
if strings.HasPrefix(c.name, "operator_") {
continue // the operator's mails are English already and are not localised
}
name := c.name
huSubject, huBody := c.render()
var enSubject, enBody string
for _, e := range customerMailCases("en") {
if e.name == name {
enSubject, enBody = e.render()
}
}
if huBody == enBody {
t.Errorf("%s renders identically in both languages — it is not localised", name)
}
if huSubject == enSubject && !strings.Contains(huSubject, "[Felhom] Információ") {
t.Errorf("%s has the same subject in both languages: %q", name, huSubject)
}
}
}
// An unsupported or absent language renders Hungarian rather than a blank or a key.
func TestUnknownLanguageRendersHungarian(t *testing.T) {
want, wantBody := FormatCustomerEmail("hu", "c1", "backup_completed", "info", "", "", "")
for _, lang := range []string{"", "de", "en-GB", " "} {
got, gotBody := FormatCustomerEmail(lang, "c1", "backup_completed", "info", "", "", "")
if got != want || gotBody != wantBody {
t.Errorf("language %q did not fall back to Hungarian", lang)
}
}
}
+230
View File
@@ -0,0 +1,230 @@
package notify
import (
"flag"
"os"
"path/filepath"
"sort"
"testing"
"gitea.dooplex.hu/admin/felhom-hub/internal/i18n"
"time"
)
// Mail goldens — the measurement localisation slice 3 rests on (R-558).
//
// Every customer-facing mail the hub can send is rendered here and compared against bytes captured
// from the code as it stood BEFORE any string moved (felhom.eu 20aafc3dec20, hub v0.117.0). The
// claim "the Hungarian mails are unchanged" is then a diff, not a reading.
//
// THE RULE THAT MAKES THEM WORTH HAVING: a golden is never regenerated to make a change pass. It is
// regenerated only for a block that has been declared and measured, and the declaration says which
// mail and why. Slice 2 on the controller earned that sentence twice.
//
// Regenerate deliberately: go test ./internal/notify/ -run TestCustomerMailGoldens -update-mail-goldens
var updateMailGoldens = flag.Bool("update-mail-goldens", false,
"rewrite the captured mail goldens (deliberate, declared blocks only)")
// goldenClock is the instant every golden is stamped with. A fixed winter date, so the Budapest
// offset in the operator mail's `MST` field is stable too (CET, not CEST).
var goldenClock = time.Date(2026, 1, 15, 9, 30, 0, 0, time.UTC)
// mailCase is one rendered mail: a name for its golden file, and the call that produces it.
type mailCase struct {
name string
render func() (string, string) // subject, body
comment string
}
// customerMailCases enumerates every customer mail the hub can produce.
//
// The event-type cases are generated FROM `customerMessages` itself rather than from a list retyped
// here, so a new entry cannot be added without a golden appearing beside it — the list cannot drift
// out of date the way a hand-maintained one does (R-423's lesson, other side).
func customerMailCases(lang string) []mailCase {
var cases []mailCase
keys := make([]string, 0, len(customerMessages))
for k := range customerMessages {
keys = append(keys, k)
}
sort.Strings(keys)
// 1. Every known event type, rendered with no box message and no details — the plain shape.
for _, k := range keys {
k := k
cases = append(cases, mailCase{
name: "customer_event_" + k,
render: func() (string, string) { return FormatCustomerEmail(lang, "demo-fixture", k, "warning", "", "", "") },
})
}
// 2. The shapes that are NOT one per event type: the fallbacks and the optional lines.
cases = append(cases,
mailCase{
name: "customer_shape_unknown_type_uses_box_message",
comment: "an event type with no entry: the box's own Hungarian sentence IS the mail",
render: func() (string, string) {
return FormatCustomerEmail(lang, "demo-fixture", "disk_warning", "warning",
"A /mnt/adat lemez 91%-ig megtelt (12,4 GB szabad).", "", "")
},
},
mailCase{
name: "customer_shape_box_message_beside_entry",
comment: "a known type AND a box message: the entry is the headline, the message is a line",
render: func() (string, string) {
return FormatCustomerEmail(lang, "demo-fixture", "backup_failed", "error",
"A cel nincs beallitva.", "", "")
},
},
mailCase{
name: "customer_shape_with_details",
comment: "details render as the Megjegyzes line",
render: func() (string, string) {
return FormatCustomerEmail(lang, "demo-fixture", "app_deployed", "info", "", "", `{"app":"bentopdf"}`)
},
},
mailCase{
name: "customer_shape_empty_details_object_is_omitted",
comment: "{} is not details",
render: func() (string, string) {
return FormatCustomerEmail(lang, "demo-fixture", "app_deployed", "info", "", "", "{}")
},
},
mailCase{
name: "customer_shape_unknown_severity_prints_raw",
comment: "an unlabelled severity falls through to its own name",
render: func() (string, string) {
return FormatCustomerEmail(lang, "demo-fixture", "test", "verbose", "", "", "")
},
},
)
for _, sev := range []string{"info", "warning", "error", "critical"} {
sev := sev
cases = append(cases, mailCase{
name: "customer_severity_" + sev,
render: func() (string, string) { return FormatCustomerEmail(lang, "demo-fixture", "test", sev, "", "", "") },
})
}
// 3. The claim arc and the self-bind link — the mails sent before any box reports.
for _, kind := range []string{"claim", "reset", "reenroll", "claimed"} {
kind := kind
cases = append(cases, mailCase{
name: "claim_" + kind,
render: func() (string, string) {
return FormatClaimEmail(lang, kind, "demo-fixture", "fixture.example", "alma-korte-szilva")
},
})
}
cases = append(cases, mailCase{
name: "selfbind",
render: func() (string, string) {
return FormatSelfBindEmail(lang, "demo-fixture", "https://hub.felhom.eu/bind/FIXTURETOKEN")
},
})
// 4. The OPERATOR mails. They are English and this slice does not touch them — which is exactly
// why they are goldened: the claim "the operator's mail did not move" needs the same diff.
cases = append(cases,
mailCase{
name: "operator_event_backup_failed",
render: func() (string, string) {
return FormatOperatorEmail("demo-fixture", "backup_failed", "error", "A mentes sikertelen.", "")
},
},
mailCase{
name: "operator_event_recovered",
render: func() (string, string) { return FormatOperatorEmail("demo-fixture", "node_recovered", "info", "", "") },
},
mailCase{
name: "operator_backup_run_failures_digest",
comment: "the R-182 digest — operator-only, already English, never localised",
render: func() (string, string) {
return FormatOperatorEmail("demo-fixture", "backup_run_failures", "error", "3 app failed", `{
"run_id":"r1","run_kind":"nightly","failed":2,"attempted":4,
"target_path":"/mnt/backup","used_gb":81.5,"avail_gb":12.5,"total_gb":94.0,
"used_percent":86.7,"space_known":true,
"apps":[{"app":"bookstack","leg":"db","reason":"mysqldump exit 1 — /mnt/backup: 81.5/94.0 GB used (87%), 12.5 GB free"},
{"app":"vaultwarden","leg":"volumes","reason":"no space left on device"}]}`)
},
},
)
return cases
}
func goldenDir(lang string) string { return filepath.Join("testdata", "mail_goldens", lang) }
// renderGolden is the on-disk form: subject and body in one file, so a diff shows both.
func renderGolden(c mailCase) string {
subject, body := c.render()
out := ""
if c.comment != "" {
out += "# " + c.comment + "\n"
}
return out + "SUBJECT: " + subject + "\n---\n" + body + "\n"
}
func TestCustomerMailGoldens(t *testing.T) {
old := nowFn
nowFn = func() time.Time { return goldenClock }
t.Cleanup(func() { nowFn = old })
for _, lang := range i18n.Supported {
t.Run(lang, func(t *testing.T) { runMailGoldens(t, lang) })
}
}
// runMailGoldens renders every mail in one language and diffs it against that language's captured
// bytes. Hungarian proves nothing moved; English proves what shipped is what was reviewed.
func runMailGoldens(t *testing.T, lang string) {
cases := customerMailCases(lang)
if len(cases) < 50 {
t.Fatalf("only %d mail cases enumerated — the table stopped covering the mails", len(cases))
}
if *updateMailGoldens {
if err := os.MkdirAll(goldenDir(lang), 0o755); err != nil {
t.Fatal(err)
}
for _, c := range cases {
p := filepath.Join(goldenDir(lang), c.name+".txt")
if err := os.WriteFile(p, []byte(renderGolden(c)), 0o644); err != nil {
t.Fatal(err)
}
}
t.Logf("wrote %d %s mail goldens to %s", len(cases), lang, goldenDir(lang))
return
}
for _, c := range cases {
t.Run(c.name, func(t *testing.T) {
p := filepath.Join(goldenDir(lang), c.name+".txt")
want, err := os.ReadFile(p)
if err != nil {
t.Fatalf("no golden for %s — capture it deliberately: %v", c.name, err)
}
got := renderGolden(c)
if got != string(want) {
t.Errorf("mail %s changed.\n--- golden ---\n%s\n--- now ---\n%s", c.name, want, got)
}
})
}
// Every golden on disk belongs to a case: a file left behind after a mail is deleted would
// otherwise sit there proving nothing about a mail that no longer exists.
entries, err := os.ReadDir(goldenDir(lang))
if err != nil {
t.Fatal(err)
}
known := map[string]bool{}
for _, c := range cases {
known[c.name+".txt"] = true
}
for _, e := range entries {
if !known[e.Name()] {
t.Errorf("orphan golden %s — no case renders it", e.Name())
}
}
}
@@ -19,7 +19,12 @@ func TestOperatorCooldown_NodeLivenessBypassesQuietHour(t *testing.T) {
d := NewDispatcher(st, "test-key", "from@felhom.eu", "op@felhom.eu", true, log.New(io.Discard, "", 0))
var mu sync.Mutex
sent := 0
d.sendEmailFn = func(string, string, string, map[string]string) error { mu.Lock(); defer mu.Unlock(); sent++; return nil }
d.sendEmailFn = func(string, string, string, map[string]string) error {
mu.Lock()
defer mu.Unlock()
sent++
return nil
}
count := func() int { mu.Lock(); defer mu.Unlock(); return sent }
// The previous node_stale mail went 39 minutes ago.
+111 -226
View File
@@ -5,11 +5,21 @@ import (
"fmt"
"strings"
"time"
"gitea.dooplex.hu/admin/felhom-hub/internal/i18n"
)
// budapest timezone for formatting.
var budapest *time.Location
// nowFn is the clock the mail bodies stamp themselves with. It exists so the golden tests can
// render a mail that is byte-stable; production never replaces it.
//
// A mail body carries `time.Now()`, so without this seam every golden would differ from itself one
// minute later and the parity measurement slice 3 rests on would be impossible to take. Replaced
// only from tests, and restored by them.
var nowFn = time.Now
func init() {
var err error
budapest, err = time.LoadLocation("Europe/Budapest")
@@ -35,7 +45,7 @@ func FormatOperatorEmail(customerID, eventType, severity, message, detailsJSON s
subject := fmt.Sprintf("[Felhom] %s %s: %s", icon, customerID, eventType)
now := time.Now().In(budapest).Format("2006-01-02 15:04 MST")
now := nowFn().In(budapest).Format("2006-01-02 15:04 MST")
body := fmt.Sprintf(`Customer: %s
Event: %s
Severity: %s
@@ -67,144 +77,104 @@ Message: %s`, customerID, eventType, severity, now, message)
// ──────────────────────────────────────────────────────────────────────
// customerMessages maps event_type → Hungarian customer message.
var customerMessages = map[string]string{
// Customer-claim arc (v0.50.0)
"claim_lockout": "Túl sok hibás beállító kód próbálkozás történt — a beállító oldal 15 percre zárolva lett. Ha nem te próbálkoztál, jelezd az üzemeltetőnek.",
// Backup events
"backup_completed": "A biztonsági mentés sikeresen elkészült.",
"backup_failed": "A biztonsági mentés sikertelen! Kérjük, ellenőrizd a rendszert.",
"db_dump_completed": "Az adatbázis mentés sikeresen elkészült.",
"db_dump_failed": "Az adatbázis mentés sikertelen!",
"backup_integrity_ok": "A mentés integritás ellenőrzés sikeres.",
"backup_integrity_failed": "A mentés integritás ellenőrzés hibát talált!",
"crossdrive_completed": "A másodlagos mentés sikeresen elkészült.",
"crossdrive_failed": "A másodlagos mentés sikertelen!",
// Offsite-repo continuity (controller v0.142.0)
"offbox_repo_orphaned": "A távoli mentési tároló elárvult: a benne lévő mentések egy korábbi, már nem elérhető kulccsal készültek (jellemzően újratelepítés után). Új mentés a tároló visszaállításáig nem készül — nyisd meg a Távoli mentés oldalt.",
"offbox_repo_reset": "A távoli mentési tároló visszaállítva: a régi előzmény félretéve (nem törölve), és egy üres, új tároló jött létre a mostani kulccsal.",
// customerMessages maps event_type → the Hungarian customer message, DERIVED FROM THE BUNDLE.
//
// It was a hand-written literal until v0.118.0. The sentences now live in
// internal/i18n/locales/hu.json under `mail.event.<event_type>`, because they need an English twin;
// this map is rebuilt from them so a sentence is written in exactly ONE place. Everything that read
// this map still reads it, and "a new event type must enter allowedEventTypes AND customerMessages
// together" is unchanged in meaning — the entry is now a line in hu.json (and its English twin, or
// the missing-key gate fails).
//
// WHAT AN ABSENT ENTRY MEANS, because it is deliberate for several types and has been misread once
// already (asserted in a v0.78.0 comment, corrected in v0.79.0 / R-97c):
//
// - An absent entry does NOT block delivery. FormatCustomerEmail falls back to the sentence the
// box sent, and the customer is mailed that.
// - `disk_warning` / `disk_critical`, `offbox_enlarge_blocked` and `disk_health_degraded` have no
// entry ON PURPOSE. Their producers send a DYNAMIC sentence naming the filesystem and its free
// space, and the entry WINS over the message — so adding one would throw away the drive name and
// the byte figures, leaving the customer a warning with nothing to act on. Pinned by
// TestDiskFillTypesHaveNoGenericCustomerMessage and templates_offbox_test.go.
// - Operator-tier types (`whole_guest_backup_failed`, `offsite_delivery_stuck`, the restore-test
// pair) have no entry because they are listed in operatorOnlyEvents, which is what actually keeps
// them off the customer channel. The absent entry is a consequence, not the mechanism.
var customerMessages = bundleMessages("mail.event.")
// Disk events (GUEST — the controller's own view) — `disk_warning` / `disk_critical`.
//
// DELIBERATELY NO ENTRY, from hub v0.89.0 / controller v0.191.0 (R-167, decision D-c). These two
// types were allowlisted here, carried generic Hungarian copy, sat in the controller's
// DefaultEnabledEvents and had a UI checkbox — and NOTHING IN ANY REPO EMITTED THEM. A complete
// customer pipeline with no producer; the sixth "built but never wired" instance in this project.
// The controller became their producer in v0.191.0.
//
// The producer sends a DYNAMIC Hungarian message naming the filesystem and its free space, so a
// static entry here would be actively harmful: FormatCustomerEmail PREFERS the entry over the
// message, so re-adding one would discard the drive name and the byte figures and leave the
// customer with "A lemezterület 90% felett van" — a warning with nothing to act on. Same reason
// `offbox_enlarge_blocked` and `disk_health_degraded` have no entry. Pinned by
// TestDiskFillTypesHaveNoGenericCustomerMessage.
// severityLabels maps severity → the Hungarian label. Derived from the bundle, same reasoning.
var severityLabels = bundleMessages("mail.severity.")
// Host disk events (the Proxmox HOST root filesystem — distinct from the guest disk above)
"host_disk_warning": "A házszerver alaprendszerének (Proxmox-gazda) gyökérlemeze 90% felett van — kérjük, szabadíts fel helyet (pl. régi biztonsági mentések).",
"host_disk_critical": "A házszerver alaprendszerének gyökérlemeze kritikusan tele van (95%+) — azonnali beavatkozás szükséges, különben a rendszer hibázhat!",
// Per-storage fill events (a SPECIFIC tároló — mentési kötet, adatmeghajtó, tároló-készlet — telik be)
"storage_fill_warning": "Egy tároló a házszerveren 90% felett telt — kérjük, szabadíts fel helyet, mielőtt megtelik.",
"storage_fill_critical": "Egy tároló a házszerveren kritikusan tele van (95%+) — a rá készülő mentések/írások meghiúsulhatnak; azonnali beavatkozás szükséges!",
// Storage events
"storage_disconnected": "Egy meghajtó leválasztva — a mentések szünetelhetnek.",
"storage_reconnected": "A meghajtó újra csatlakoztatva.",
// E-2 — the drive the whole-system backup is written to is gone. Deliberately NOT folded into
// storage_disconnected: the customer action differs (reconnect THIS drive, or the system backup
// stops surviving a disk failure), and the fallback is honest about what still protects them.
"backup_target_absent": "A rendszermentés meghajtója nem érhető el — amíg vissza nem csatlakoztatod, a teljes rendszermentés nem készül el.",
"backup_target_restored": "A rendszermentés meghajtója újra elérhető — a mentés folytatódik.",
// Staleness events (Hub-generated)
"node_stale": "A szerver nem küldött jelentést az elmúlt időszakban.",
"node_down": "A szerver nem elérhető!",
"node_recovered": "A szerver újra elérhető.",
"host_recovered": "A házszerver alaprendszere (Proxmox-gazda) újra elérhető.",
// Health events
"health_degraded": "A rendszer állapota romlott.",
"health_critical": "A rendszer állapota kritikus!",
"health_recovered": "A rendszer állapota helyreállt.",
// Controller events
"controller_started": "A vezérlő elindult.",
"controller_updated": "A vezérlő frissítve lett.",
// Deadline events (Hub-generated)
"expected_backup_missed": "A mai biztonsági mentés nem készült el a határidőig!",
"expected_dbdump_missed": "A mai adatbázis mentés nem készült el a határidőig!",
// App lifecycle events
"app_deployed": "Alkalmazás telepítve.",
"app_removed": "Alkalmazás eltávolítva.",
"app_start_failed": "Egy telepített alkalmazás nem fut — ellenőrizze a rendszermonitort.",
// R-550 (v0.117.0): the box stopped while a restore was running.
"restore_interrupted": "Egy visszaállítás megszakadt, mert a doboz újraindult. Indítsd el újra a vezérlőpult Visszaállítás oldalán.",
// R-536 (controller v0.244.0): the pair that makes „telepítve" mean it. The started event is the
// acceptance `app_deployed` used to assert beside the 202; the failed one is what an interrupted
// install used to be — silence. A new type must enter allowedEventTypes AND this map together.
"app_deploy_started": "Alkalmazás telepítése elindult.",
"app_deploy_failed": "Egy alkalmazás telepítése nem fejeződött be.",
// Disaster recovery events
"disaster_recovery_started": "Katasztrófa helyreállítás elindítva.",
"disaster_recovery_completed": "Katasztrófa helyreállítás befejezve.",
// Test
"test": "Ez egy teszt értesítés.",
// bundleMessages rebuilds a legacy map from the Hungarian bundle: every key under prefix, with the
// prefix stripped. Hungarian only — a caller that wants the household's language asks the bundle.
func bundleMessages(prefix string) map[string]string {
b := i18n.Shared()
out := map[string]string{}
for _, k := range b.Keys(i18n.Default) {
if strings.HasPrefix(k, prefix) {
out[strings.TrimPrefix(k, prefix)] = b.Msg(i18n.Default, k)
}
}
return out
}
// severityLabels maps severity to Hungarian labels.
var severityLabels = map[string]string{
"info": "Információ",
"warning": "Figyelmeztetés",
"error": "Hiba",
"critical": "Kritikus hiba",
}
// FormatCustomerEmail returns (subject, textBody) for the customer channel, written in lang.
//
// SLICE 3 (R-558). Two things arrive from the box and they are NOT interchangeable:
//
// - `message` is the box's own Hungarian sentence. It is what the operator reads, it is what is
// written to notification_log, and it is what every hub before v0.118.0 put in this mail.
// - `messageCustomer` is the SAME sentence in the household's language, sent beside it by
// controller v0.256.0 and later. It is optional, forever: Peti's parked box will never send it,
// and an absent one must leave this mail exactly as it was.
//
// The hub cannot translate a sentence the box composed, so this is the only way a dynamic line
// (`the /mnt/adat disk is 91% full`) can reach an English household in English.
//
// `lang` governs only what the HOUSEHOLD reads. FormatOperatorEmail is untouched and still receives
// `message`.
func FormatCustomerEmail(lang, customerID, eventType, severity, message, messageCustomer, detailsJSON string) (string, string) {
b := i18n.Shared()
lang = i18n.Normalize(lang)
// FormatCustomerEmail returns (subject, textBody) for the customer channel.
func FormatCustomerEmail(customerID, eventType, severity, message, detailsJSON string) (string, string) {
label := severityLabels[severity]
if label == "" {
label = severity
label := b.Msg(lang, "mail.severity."+severity)
if !b.Has(i18n.Default, "mail.severity."+severity) {
label = severity // an unlabelled severity prints its own name, as it always has
}
// Use the per-event-type Hungarian message if available, otherwise fall back to message
hunMessage := customerMessages[eventType]
if hunMessage == "" {
hunMessage = message
// The box's sentence, in the household's language when the box sent one.
boxMessage := message
if messageCustomer != "" {
boxMessage = messageCustomer
}
subject := fmt.Sprintf("[Felhom] %s: %s", label, hunMessage)
// The per-event-type message if this type has one, otherwise the box's own sentence.
//
// The ENTRY WINS over the message, and that is load-bearing rather than incidental: the types
// that deliberately have no entry (disk_warning, disk_health_degraded, offbox_enlarge_blocked)
// send a dynamic sentence naming the drive and the free space, and a generic entry would throw
// exactly that away. Pinned by TestDiskFillTypesHaveNoGenericCustomerMessage.
headline := ""
if b.Has(i18n.Default, "mail.event."+eventType) {
headline = b.Msg(lang, "mail.event."+eventType)
}
if headline == "" {
headline = boxMessage
}
now := time.Now().In(budapest).Format("2006-01-02 15:04")
body := fmt.Sprintf(`Kedves Ügyfél!
subject := b.Msgf(lang, "mail.customer.subject", label, headline)
A Felhom rendszered a következő értesítést küldte:
now := nowFn().In(budapest).Format("2006-01-02 15:04")
body := b.Msgf(lang, "mail.customer.body", headline, customerID, now, label, eventType)
%s
Részletek:
- Szerver: %s
- Időpont: %s
- Szint: %s
- Típus: %s`, hunMessage, customerID, now, label, eventType)
if message != "" && message != hunMessage {
body += fmt.Sprintf("\n- Üzenet: %s", message)
if boxMessage != "" && boxMessage != headline {
body += b.Msgf(lang, "mail.customer.line.message", boxMessage)
}
if detailsJSON != "" && detailsJSON != "{}" {
body += fmt.Sprintf("\n- Megjegyzés: %s", detailsJSON)
body += b.Msgf(lang, "mail.customer.line.note", detailsJSON)
}
body += `
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring`
body += b.Msg(lang, "mail.customer.signoff")
return subject, body
}
@@ -234,89 +204,25 @@ Felhom.eu monitoring`
// capped and consumed exactly as before, and a reset code is still accepted on the setup page.
// Pinned by TestFormatClaimEmail_OneNamePerSecret and, on the box side, by the controller's
// claim_code_naming_test.go.
func FormatClaimEmail(kind, customerID, domain, code string) (string, string) {
func FormatClaimEmail(lang, kind, customerID, domain, code string) (string, string) {
b := i18n.Shared()
dashboardURL := "https://felhom." + domain
// An unknown kind is the "claim" mail, exactly as the switch's default always was.
switch kind {
case "reset":
// The box HAS a password: the customer asked for a reset from the login screen, so the
// „Elfelejtett jelszó" link IS on their screen and naming it is correct here.
subject := "[Felhom] Beállító kód a jelszavad visszaállításához"
body := fmt.Sprintf(`Kedves Ügyfél!
Jelszó-visszaállítást kértél a Felhom vezérlőpultodhoz.
Beállító kód: %s
A kód 72 óráig érvényes, és egyszer használható fel. Add meg a vezérlőpult
"Elfelejtett jelszó" oldalán, majd válassz új jelszót:
%s
Ha nem te kérted, hagyd figyelmen kívül — a jelenlegi jelszavad változatlan.
Üdvözlettel,
Felhom.eu`, code, dashboardURL)
return subject, body
case "reenroll":
// The box was rebuilt and has NO password, so it shows „A szerver beállítása" and serves no
// login page — there is no „Elfelejtett jelszó" link to send anyone to. Same secret, same
// name, the page the machine is actually showing.
//
// It deliberately says NOTHING about the apps or the backups. A clean-slate reinstall is
// exactly the situation in which such a reassurance could be false, and this project has
// spent four register rows removing promises it could not see were still true.
subject := "[Felhom] Új beállító kód — újratelepült a szervered"
body := fmt.Sprintf(`Kedves Ügyfél!
A Felhom szervered újratelepült, ezért a vezérlőpultod belépését újra be kell
állítani. A korábbi jelszavad már nem érvényes.
Beállító kód: %s
A kód 72 óráig érvényes, és egyszer használható fel. Nyisd meg a vezérlőpultot —
"A szerver beállítása" oldal fogad —, add meg a kódot, majd válassz új jelszót:
%s
Ha nem te telepítetted újra a szervered, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu`, code, dashboardURL)
return subject, body
case "claimed":
subject := "[Felhom] A vezérlőpultod mostantól jelszóval védett"
body := fmt.Sprintf(`Kedves Ügyfél!
A Felhom vezérlőpultod beállítása elkészült — a vezérlőpultod mostantól
jelszóval védett. A megadott jelszóval tudsz bejelentkezni:
%s
Ha nem te végezted a beállítást, azonnal vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu`, dashboardURL)
return subject, body
default: // "claim"
subject := "[Felhom] Elindult a Felhom szervered — beállító kód"
body := fmt.Sprintf(`Kedves Ügyfél!
Elindult a Felhom szervered. A vezérlőpult első használatához add meg az
alábbi beállító kódot, majd válassz saját jelszót:
Beállító kód: %s
A kód 72 óráig érvényes, és egyszer használható fel. A vezérlőpultot itt éred el:
%s
Ha nem kaptad volna meg időben, a vezérlőpult "Új kód kérése" gombjával
kérhetsz frisset — az mindig erre az e-mail címre érkezik.
Üdvözlettel,
Felhom.eu`, code, dashboardURL)
return subject, body
case "reset", "reenroll", "claimed":
default:
kind = "claim"
}
subject := b.Msg(lang, "mail.claim."+kind+".subject")
// "claimed" is the one branch that carries no code — it confirms a claim that already happened,
// and putting a live secret in a mail that needs none would be a step backwards.
if kind == "claimed" {
return subject, b.Msgf(lang, "mail.claim.claimed.body", dashboardURL)
}
return subject, b.Msgf(lang, "mail.claim."+kind+".body", code, dashboardURL)
}
// FormatSelfBindEmail builds the customer-facing Hungarian email carrying the self-bind capability
@@ -341,30 +247,9 @@ Felhom.eu`, code, dashboardURL)
//
// Naming only: no acceptance logic moved, and the same phrase is still accepted. Pinned by
// TestSelfBind_ThirdSecretNaming and TestSelfBindPassphrase_StillAcceptedAfterTheRename.
func FormatSelfBindEmail(customerID, link string) (string, string) {
subject := "[Felhom] Kösd össze a Felhom dobozodat"
body := fmt.Sprintf(`Kedves Ügyfél!
Elkészült a Felhom dobozod, és készen áll az összekötésre. Az alábbi hivatkozáson
tudod te magad összekötni a fiókoddal — nincs szükség bejelentkezésre:
%s
A hivatkozás megnyitása után két adatot kell megadnod:
1. A párosító kódot, amely a doboz képernyőjén (a monitoron) látható.
2. A tulajdonosi jelmondatodat (az 5 szóból álló kifejezést), amelyet a
Felhom üzemeltetőjétől kaptál — személyesen vagy telefonon, e-mailben
soha. Ez igazolja, hogy a fiók a tiéd.
A hivatkozás 7 napig érvényes. Biztonsági okból 5 sikertelen próbálkozás után
zárolódik — ilyenkor vedd fel a kapcsolatot az ügyfélszolgálattal.
Ha nem te kérted ezt, hagyd figyelmen kívül ezt az e-mailt.
Üdvözlettel,
Felhom.eu`, link)
return subject, body
func FormatSelfBindEmail(lang, customerID, link string) (string, string) {
b := i18n.Shared()
return b.Msg(lang, "mail.selfbind.subject"), b.Msgf(lang, "mail.selfbind.body", link)
}
// ──────────────────────────────────────────────────────────────────────
+3 -1
View File
@@ -3,6 +3,8 @@ package notify
import (
"strings"
"testing"
"gitea.dooplex.hu/admin/felhom-hub/internal/i18n"
)
// TestFormatCustomerEmail_OffboxEnlargeBlockedRawMessageSurvives locks in the deliberate non-change
@@ -19,7 +21,7 @@ func TestFormatCustomerEmail_OffboxEnlargeBlockedRawMessageSurvives(t *testing.T
t.Fatal("offbox_enlarge_blocked must have NO customerMessages entry (it would discard the dynamic numbers)")
}
subject, body := FormatCustomerEmail("c1", "offbox_enlarge_blocked", "warning", raw, "")
subject, body := FormatCustomerEmail(i18n.Default, "c1", "offbox_enlarge_blocked", "warning", raw, "", "")
for _, want := range []string{"~42.0 GB", "20/50 GB"} {
if !strings.Contains(body, want) {
t.Errorf("email body must carry the dynamic figure %q (raw message survived): %s", want, body)
@@ -0,0 +1,19 @@
SUBJECT: [Felhom] Your Felhom server is up — setup code
---
Dear Customer,
Your Felhom server is up. To use the dashboard for the first time, enter the
setup code below, then choose your own password:
Setup code: alma-korte-szilva
The code is valid for 72 hours and can be used once. You can reach the
dashboard here:
https://felhom.fixture.example
If it did not reach you in time, the dashboard's "Request a new code" button
gets you a fresh one — it always arrives at this e-mail address.
Best regards,
Felhom.eu
@@ -0,0 +1,13 @@
SUBJECT: [Felhom] Your dashboard is now password protected
---
Dear Customer,
The setup of your Felhom dashboard is complete — your dashboard is now
password protected. You can sign in with the password you chose:
https://felhom.fixture.example
If you did not do this setup, contact your operator immediately.
Best regards,
Felhom.eu
@@ -0,0 +1,19 @@
SUBJECT: [Felhom] New setup code — your server was reinstalled
---
Dear Customer,
Your Felhom server was reinstalled, so the sign-in to your dashboard has to be
set up again. Your earlier password is no longer valid.
Setup code: alma-korte-szilva
The code is valid for 72 hours and can be used once. Open your dashboard — the
"Set up the server" page will greet you — enter the code, then choose a new
password:
https://felhom.fixture.example
If you did not reinstall your server, contact your operator.
Best regards,
Felhom.eu
@@ -0,0 +1,17 @@
SUBJECT: [Felhom] Setup code to reset your password
---
Dear Customer,
You asked to reset the password for your Felhom dashboard.
Setup code: alma-korte-szilva
The code is valid for 72 hours and can be used once. Enter it on the
"Forgotten password" page of your dashboard, then choose a new password:
https://felhom.fixture.example
If you did not ask for this, ignore it — your current password is unchanged.
Best regards,
Felhom.eu
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: An app did not finish installing.
---
Dear Customer,
Your Felhom system sent the following notification:
An app did not finish installing.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: app_deploy_failed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: An app has started installing.
---
Dear Customer,
Your Felhom system sent the following notification:
An app has started installing.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: app_deploy_started
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: An app was installed.
---
Dear Customer,
Your Felhom system sent the following notification:
An app was installed.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: app_deployed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: An app was removed.
---
Dear Customer,
Your Felhom system sent the following notification:
An app was removed.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: app_removed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: An installed app is not running — check the system monitor.
---
Dear Customer,
Your Felhom system sent the following notification:
An installed app is not running — check the system monitor.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: app_start_failed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The backup finished successfully.
---
Dear Customer,
Your Felhom system sent the following notification:
The backup finished successfully.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: backup_completed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The backup failed. Check your system.
---
Dear Customer,
Your Felhom system sent the following notification:
The backup failed. Check your system.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: backup_failed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The backup integrity check found a problem.
---
Dear Customer,
Your Felhom system sent the following notification:
The backup integrity check found a problem.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: backup_integrity_failed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The backup integrity check passed.
---
Dear Customer,
Your Felhom system sent the following notification:
The backup integrity check passed.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: backup_integrity_ok
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The drive your whole-system backup is written to is not available. Until you reconnect it, no whole-system backup is made.
---
Dear Customer,
Your Felhom system sent the following notification:
The drive your whole-system backup is written to is not available. Until you reconnect it, no whole-system backup is made.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: backup_target_absent
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The drive your whole-system backup is written to is available again — backups continue.
---
Dear Customer,
Your Felhom system sent the following notification:
The drive your whole-system backup is written to is available again — backups continue.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: backup_target_restored
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Too many wrong setup codes were entered — the setup page is locked for 15 minutes. If that was not you, tell your operator.
---
Dear Customer,
Your Felhom system sent the following notification:
Too many wrong setup codes were entered — the setup page is locked for 15 minutes. If that was not you, tell your operator.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: claim_lockout
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The controller has started.
---
Dear Customer,
Your Felhom system sent the following notification:
The controller has started.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: controller_started
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The controller has been updated.
---
Dear Customer,
Your Felhom system sent the following notification:
The controller has been updated.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: controller_updated
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The second copy of your backup finished successfully.
---
Dear Customer,
Your Felhom system sent the following notification:
The second copy of your backup finished successfully.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: crossdrive_completed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The second copy of your backup failed.
---
Dear Customer,
Your Felhom system sent the following notification:
The second copy of your backup failed.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: crossdrive_failed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The database backup finished successfully.
---
Dear Customer,
Your Felhom system sent the following notification:
The database backup finished successfully.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: db_dump_completed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The database backup failed.
---
Dear Customer,
Your Felhom system sent the following notification:
The database backup failed.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: db_dump_failed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Disaster recovery has finished.
---
Dear Customer,
Your Felhom system sent the following notification:
Disaster recovery has finished.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: disaster_recovery_completed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Disaster recovery has started.
---
Dear Customer,
Your Felhom system sent the following notification:
Disaster recovery has started.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: disaster_recovery_started
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Today's backup did not finish by its deadline.
---
Dear Customer,
Your Felhom system sent the following notification:
Today's backup did not finish by its deadline.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: expected_backup_missed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Today's database backup did not finish by its deadline.
---
Dear Customer,
Your Felhom system sent the following notification:
Today's database backup did not finish by its deadline.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: expected_dbdump_missed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Your system's health is critical.
---
Dear Customer,
Your Felhom system sent the following notification:
Your system's health is critical.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: health_critical
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Your system's health has got worse.
---
Dear Customer,
Your Felhom system sent the following notification:
Your system's health has got worse.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: health_degraded
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Your system's health is back to normal.
---
Dear Customer,
Your Felhom system sent the following notification:
Your system's health is back to normal.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: health_recovered
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The main disk of your home server's base system is critically full (95%+). Act now, or the system may start to fail.
---
Dear Customer,
Your Felhom system sent the following notification:
The main disk of your home server's base system is critically full (95%+). Act now, or the system may start to fail.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: host_disk_critical
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The main disk of your home server's base system (the Proxmox host) is over 90% full — free up some space (old backups, for example).
---
Dear Customer,
Your Felhom system sent the following notification:
The main disk of your home server's base system (the Proxmox host) is over 90% full — free up some space (old backups, for example).
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: host_disk_warning
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Your home server's base system (the Proxmox host) can be reached again.
---
Dear Customer,
Your Felhom system sent the following notification:
Your home server's base system (the Proxmox host) can be reached again.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: host_recovered
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Your server cannot be reached.
---
Dear Customer,
Your Felhom system sent the following notification:
Your server cannot be reached.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: node_down
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Your server can be reached again.
---
Dear Customer,
Your Felhom system sent the following notification:
Your server can be reached again.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: node_recovered
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: Your server has not sent a report recently.
---
Dear Customer,
Your Felhom system sent the following notification:
Your server has not sent a report recently.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: node_stale
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The remote backup store is orphaned: the backups inside it were made with an earlier key that is no longer available (usually after a reinstall). No new backup is made until the store is reset — open the Remote backup page.
---
Dear Customer,
Your Felhom system sent the following notification:
The remote backup store is orphaned: the backups inside it were made with an earlier key that is no longer available (usually after a reinstall). No new backup is made until the store is reset — open the Remote backup page.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: offbox_repo_orphaned
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The remote backup store has been reset: the old history was set aside (not deleted), and an empty new store was created with the current key.
---
Dear Customer,
Your Felhom system sent the following notification:
The remote backup store has been reset: the old history was set aside (not deleted), and an empty new store was created with the current key.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: offbox_repo_reset
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: A restore was interrupted because the box restarted. Start it again on the Restore page of your dashboard.
---
Dear Customer,
Your Felhom system sent the following notification:
A restore was interrupted because the box restarted. Start it again on the Restore page of your dashboard.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: restore_interrupted
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: A drive was disconnected — backups may pause.
---
Dear Customer,
Your Felhom system sent the following notification:
A drive was disconnected — backups may pause.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: storage_disconnected
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: A drive on your home server is critically full (95%+). Backups and writes to it may fail. Act now.
---
Dear Customer,
Your Felhom system sent the following notification:
A drive on your home server is critically full (95%+). Backups and writes to it may fail. Act now.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: storage_fill_critical
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: A drive on your home server is over 90% full — free up some space before it fills.
---
Dear Customer,
Your Felhom system sent the following notification:
A drive on your home server is over 90% full — free up some space before it fills.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: storage_fill_warning
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: The drive is connected again.
---
Dear Customer,
Your Felhom system sent the following notification:
The drive is connected again.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: storage_reconnected
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: This is a test notification.
---
Dear Customer,
Your Felhom system sent the following notification:
This is a test notification.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: test
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Critical error: This is a test notification.
---
Dear Customer,
Your Felhom system sent the following notification:
This is a test notification.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Critical error
- Type: test
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Error: This is a test notification.
---
Dear Customer,
Your Felhom system sent the following notification:
This is a test notification.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Error
- Type: test
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Information: This is a test notification.
---
Dear Customer,
Your Felhom system sent the following notification:
This is a test notification.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Information
- Type: test
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Warning: This is a test notification.
---
Dear Customer,
Your Felhom system sent the following notification:
This is a test notification.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: test
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,20 @@
# a known type AND a box message: the entry is the headline, the message is a line
SUBJECT: [Felhom] Error: The backup failed. Check your system.
---
Dear Customer,
Your Felhom system sent the following notification:
The backup failed. Check your system.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Error
- Type: backup_failed
- Message: A cel nincs beallitva.
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,19 @@
# {} is not details
SUBJECT: [Felhom] Information: An app was installed.
---
Dear Customer,
Your Felhom system sent the following notification:
An app was installed.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Information
- Type: app_deployed
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,19 @@
# an unlabelled severity falls through to its own name
SUBJECT: [Felhom] verbose: This is a test notification.
---
Dear Customer,
Your Felhom system sent the following notification:
This is a test notification.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: verbose
- Type: test
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,19 @@
# an event type with no entry: the box's own Hungarian sentence IS the mail
SUBJECT: [Felhom] Warning: A /mnt/adat lemez 91%-ig megtelt (12,4 GB szabad).
---
Dear Customer,
Your Felhom system sent the following notification:
A /mnt/adat lemez 91%-ig megtelt (12,4 GB szabad).
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Warning
- Type: disk_warning
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,20 @@
# details render as the Megjegyzes line
SUBJECT: [Felhom] Information: An app was installed.
---
Dear Customer,
Your Felhom system sent the following notification:
An app was installed.
Details:
- Server: demo-fixture
- Time: 2026-01-15 10:30
- Level: Information
- Type: app_deployed
- Note: {"app":"bentopdf"}
If you have any questions, contact your operator.
Best regards,
Felhom.eu monitoring
@@ -0,0 +1,20 @@
# the R-182 digest — operator-only, already English, never localised
SUBJECT: [Felhom] 🔴 demo-fixture: 2 of 4 apps failed to back up (nightly run)
---
Customer: demo-fixture
Event: backup_run_failures
Severity: error
Time: 2026-01-15 10:30 CET
Message: 3 app failed
FAILED: 2 of 4 apps attempted in this nightly run.
bookstack db mysqldump exit 1
vaultwarden volumes no space left on device
Filesystem: /mnt/backup — 81.5/94.0 GB used (87%), 12.5 GB free
Every failure above is also recorded individually in the notification log,
whether or not this mail was sent.
Dashboard: https://hub.felhom.eu/customers/demo-fixture
@@ -0,0 +1,9 @@
SUBJECT: [Felhom] 🔴 demo-fixture: backup_failed
---
Customer: demo-fixture
Event: backup_failed
Severity: error
Time: 2026-01-15 10:30 CET
Message: A mentes sikertelen.
Dashboard: https://hub.felhom.eu/customers/demo-fixture
@@ -0,0 +1,9 @@
SUBJECT: [Felhom] ✅ demo-fixture: node_recovered
---
Customer: demo-fixture
Event: node_recovered
Severity: info
Time: 2026-01-15 10:30 CET
Message:
Dashboard: https://hub.felhom.eu/customers/demo-fixture
@@ -0,0 +1,23 @@
SUBJECT: [Felhom] Link your Felhom box to your account
---
Dear Customer,
Your Felhom box is ready and waiting to be linked. You can link it to your
account yourself using the link below — no sign-in needed:
https://hub.felhom.eu/bind/FIXTURETOKEN
After you open the link you will need to enter two things:
1. The pairing code, shown on the box's own screen (the monitor).
2. Your owner passphrase (the 5-word phrase) that you received from your
Felhom operator — in person or by telephone, never by e-mail. It proves
the account is yours.
The link is valid for 7 days. For safety it locks after 5 failed attempts —
if that happens, contact support.
If you did not ask for this, ignore this e-mail.
Best regards,
Felhom.eu
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Elindult a Felhom szervered — beállító kód
---
Kedves Ügyfél!
Elindult a Felhom szervered. A vezérlőpult első használatához add meg az
alábbi beállító kódot, majd válassz saját jelszót:
Beállító kód: alma-korte-szilva
A kód 72 óráig érvényes, és egyszer használható fel. A vezérlőpultot itt éred el:
https://felhom.fixture.example
Ha nem kaptad volna meg időben, a vezérlőpult "Új kód kérése" gombjával
kérhetsz frisset — az mindig erre az e-mail címre érkezik.
Üdvözlettel,
Felhom.eu
@@ -0,0 +1,13 @@
SUBJECT: [Felhom] A vezérlőpultod mostantól jelszóval védett
---
Kedves Ügyfél!
A Felhom vezérlőpultod beállítása elkészült — a vezérlőpultod mostantól
jelszóval védett. A megadott jelszóval tudsz bejelentkezni:
https://felhom.fixture.example
Ha nem te végezted a beállítást, azonnal vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Új beállító kód — újratelepült a szervered
---
Kedves Ügyfél!
A Felhom szervered újratelepült, ezért a vezérlőpultod belépését újra be kell
állítani. A korábbi jelszavad már nem érvényes.
Beállító kód: alma-korte-szilva
A kód 72 óráig érvényes, és egyszer használható fel. Nyisd meg a vezérlőpultot —
"A szerver beállítása" oldal fogad —, add meg a kódot, majd válassz új jelszót:
https://felhom.fixture.example
Ha nem te telepítetted újra a szervered, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu
@@ -0,0 +1,17 @@
SUBJECT: [Felhom] Beállító kód a jelszavad visszaállításához
---
Kedves Ügyfél!
Jelszó-visszaállítást kértél a Felhom vezérlőpultodhoz.
Beállító kód: alma-korte-szilva
A kód 72 óráig érvényes, és egyszer használható fel. Add meg a vezérlőpult
"Elfelejtett jelszó" oldalán, majd válassz új jelszót:
https://felhom.fixture.example
Ha nem te kérted, hagyd figyelmen kívül — a jelenlegi jelszavad változatlan.
Üdvözlettel,
Felhom.eu
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: Egy alkalmazás telepítése nem fejeződött be.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
Egy alkalmazás telepítése nem fejeződött be.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: app_deploy_failed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: Alkalmazás telepítése elindult.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
Alkalmazás telepítése elindult.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: app_deploy_started
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: Alkalmazás telepítve.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
Alkalmazás telepítve.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: app_deployed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: Alkalmazás eltávolítva.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
Alkalmazás eltávolítva.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: app_removed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: Egy telepített alkalmazás nem fut — ellenőrizze a rendszermonitort.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
Egy telepített alkalmazás nem fut — ellenőrizze a rendszermonitort.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: app_start_failed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A biztonsági mentés sikeresen elkészült.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A biztonsági mentés sikeresen elkészült.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: backup_completed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A biztonsági mentés sikertelen! Kérjük, ellenőrizd a rendszert.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A biztonsági mentés sikertelen! Kérjük, ellenőrizd a rendszert.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: backup_failed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A mentés integritás ellenőrzés hibát talált!
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A mentés integritás ellenőrzés hibát talált!
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: backup_integrity_failed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A mentés integritás ellenőrzés sikeres.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A mentés integritás ellenőrzés sikeres.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: backup_integrity_ok
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A rendszermentés meghajtója nem érhető el — amíg vissza nem csatlakoztatod, a teljes rendszermentés nem készül el.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A rendszermentés meghajtója nem érhető el — amíg vissza nem csatlakoztatod, a teljes rendszermentés nem készül el.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: backup_target_absent
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A rendszermentés meghajtója újra elérhető — a mentés folytatódik.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A rendszermentés meghajtója újra elérhető — a mentés folytatódik.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: backup_target_restored
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: Túl sok hibás beállító kód próbálkozás történt — a beállító oldal 15 percre zárolva lett. Ha nem te próbálkoztál, jelezd az üzemeltetőnek.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
Túl sok hibás beállító kód próbálkozás történt — a beállító oldal 15 percre zárolva lett. Ha nem te próbálkoztál, jelezd az üzemeltetőnek.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: claim_lockout
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A vezérlő elindult.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A vezérlő elindult.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: controller_started
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A vezérlő frissítve lett.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A vezérlő frissítve lett.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: controller_updated
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A másodlagos mentés sikeresen elkészült.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A másodlagos mentés sikeresen elkészült.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: crossdrive_completed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A másodlagos mentés sikertelen!
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A másodlagos mentés sikertelen!
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: crossdrive_failed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: Az adatbázis mentés sikeresen elkészült.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
Az adatbázis mentés sikeresen elkészült.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: db_dump_completed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: Az adatbázis mentés sikertelen!
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
Az adatbázis mentés sikertelen!
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: db_dump_failed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: Katasztrófa helyreállítás befejezve.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
Katasztrófa helyreállítás befejezve.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: disaster_recovery_completed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: Katasztrófa helyreállítás elindítva.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
Katasztrófa helyreállítás elindítva.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: disaster_recovery_started
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A mai biztonsági mentés nem készült el a határidőig!
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A mai biztonsági mentés nem készült el a határidőig!
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: expected_backup_missed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A mai adatbázis mentés nem készült el a határidőig!
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A mai adatbázis mentés nem készült el a határidőig!
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: expected_dbdump_missed
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A rendszer állapota kritikus!
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A rendszer állapota kritikus!
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: health_critical
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A rendszer állapota romlott.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A rendszer állapota romlott.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: health_degraded
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A rendszer állapota helyreállt.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A rendszer állapota helyreállt.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: health_recovered
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A házszerver alaprendszerének gyökérlemeze kritikusan tele van (95%+) — azonnali beavatkozás szükséges, különben a rendszer hibázhat!
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A házszerver alaprendszerének gyökérlemeze kritikusan tele van (95%+) — azonnali beavatkozás szükséges, különben a rendszer hibázhat!
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: host_disk_critical
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A házszerver alaprendszerének (Proxmox-gazda) gyökérlemeze 90% felett van — kérjük, szabadíts fel helyet (pl. régi biztonsági mentések).
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A házszerver alaprendszerének (Proxmox-gazda) gyökérlemeze 90% felett van — kérjük, szabadíts fel helyet (pl. régi biztonsági mentések).
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: host_disk_warning
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A házszerver alaprendszere (Proxmox-gazda) újra elérhető.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A házszerver alaprendszere (Proxmox-gazda) újra elérhető.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: host_recovered
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A szerver nem elérhető!
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A szerver nem elérhető!
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: node_down
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A szerver újra elérhető.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A szerver újra elérhető.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: node_recovered
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A szerver nem küldött jelentést az elmúlt időszakban.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A szerver nem küldött jelentést az elmúlt időszakban.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: node_stale
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
@@ -0,0 +1,18 @@
SUBJECT: [Felhom] Figyelmeztetés: A távoli mentési tároló elárvult: a benne lévő mentések egy korábbi, már nem elérhető kulccsal készültek (jellemzően újratelepítés után). Új mentés a tároló visszaállításáig nem készül — nyisd meg a Távoli mentés oldalt.
---
Kedves Ügyfél!
A Felhom rendszered a következő értesítést küldte:
A távoli mentési tároló elárvult: a benne lévő mentések egy korábbi, már nem elérhető kulccsal készültek (jellemzően újratelepítés után). Új mentés a tároló visszaállításáig nem készül — nyisd meg a Távoli mentés oldalt.
Részletek:
- Szerver: demo-fixture
- Időpont: 2026-01-15 10:30
- Szint: Figyelmeztetés
- Típus: offbox_repo_orphaned
Ha kérdésed van, vedd fel a kapcsolatot az üzemeltetővel.
Üdvözlettel,
Felhom.eu monitoring
Loaded 100 of 150 files, more files were not shown because too many files have changed in this diff. Show more