Skip to content

Alarms and health

Partial

An alarm says what is wrong with one component. Health is what that means for the systems the component serves and the locations above them. This page follows an alarm from raise to clear, then follows its effect up the fleet.

An alarm says what is wrong with one component. The component’s Alarms panel lists the active ones newest first, with a Recently cleared group beneath them: what is wrong now on top, what was wrong underneath.

Raising one takes two things:

  • a severity: one of the severity levels, listed with their rank, color and effect under Catalog, under Actions: Severity (the rules guide renders the shipped set, and an admin can add more between them on that page). Every alarm wears its level’s label in its color. This is how loudly to treat it, and it sets the component’s own health (any active alarm makes the component degraded, one at a level marked outage takes it out). Only an outage stops a component occupying a slot it fills: an info or warning alarm still degrades it, but the component keeps its slot, so a quiet issue does not short-staff a system on its own;
  • a message, for whoever reads it later. Write it for the person who finds this at 8am, not for you.

Not every alarm is raised by hand. An event rule raises and clears its own as telemetry lands: such an alarm says by rule and the rule’s name, and the rule clears it when the rule clears (the official reachability rule does this for every endpoint that stops answering). You acknowledge it like any other. Clearing it by hand works too, and a hand clear of a rule’s alarm holds until the rule clears and fires again, whatever the input: a rule acts on edges, not on each sample, so a metric still reading over its threshold on every poll does not reopen it. The rule still counts itself as firing there (the firing and the events it wrote are untouched); once the value recovers the rule clears, and if it fires again later it raises a new alarm. Fix the fault rather than clearing its alarm.

Clearing keeps the row. The alarm moves to the history with the time it was cleared, so what was wrong and when survives the fix. Clearing one twice is a plain miss rather than a silent success.

Both writes take effect immediately and completely: the system’s health, the location above it, and the recorded history all move in the same transaction as the alarm. There is no wait and no refresh cycle.

Acknowledging an alarm records that a human has looked at it, and changes nothing else. The alarm stays exactly as raised as it was, the component stays exactly as broken, and no health moves. Acknowledging is not fixing; clearing is.

That is why the two are independent, and the panel shows both facts at once:

  • an alarm nobody has looked at carries an unacknowledged chip, and the panel header counts them, so the queue you actually work (raised, and nobody on it) is visible without opening each one;
  • an acknowledged alarm names who looked and when, and stays in the active list, because it is still broken;
  • a cleared alarm that was never acknowledged says so in the history: it came and went with nobody looking, which is worth spotting later.

Wherever an alarm is read (a component’s Why strip, the alarms panel, the Alarms page and its drawer, a blade), what you can do with it is one button group on one line: Acknowledge (the eye), Snooze, Clear where the surface offers it, the omnibot button and the timeline clock, all the same height. On a narrow container the group wraps under the alarm’s message as a whole, never member by member, and a control you may not use is simply absent.

The Acknowledge button beside an active alarm acknowledges it. Unlike raising and clearing, it is available without entering edit mode: edit mode guards this component’s own data, and an acknowledgement writes none of it. It needs the alarm:acknowledge permission, which the Operator role carries; a viewer sees the indicator and gets no button.

Acknowledging twice is harmless. The first person and the first time are what the alarm keeps, so a second click (or a colleague reaching it a moment after you) changes nothing and is not an error. There is no un-acknowledge.

Snoozing: silencing a noisy alarm for a while

Section titled “Snoozing: silencing a noisy alarm for a while”

Snoozing stops the people an alarm notifies from being told about it, for a bounded time. It is for the alarm that flaps or that you are already working on: Snooze beside the alarm (in the Why strip of a component or a system, in the system blade, and the alarms panel, active or recently cleared) offers 15 minutes, 1 hour, 4 hours or 24 hours. While it holds, every notification about that alarm, a raise or a clear, on a webhook, by email or in an inbox, is recorded instead of sent, and each one stays on the alarm’s timeline reading snoozed, with the reason. The alarm wears a snoozed until chip naming the time, and its tooltip names who snoozed it.

A snooze belongs to the alarm’s identity (its component and dedup key), not to one alarm row: when the alarm clears and is raised again, the new alarm is snoozed too, until the deadline. Another alarm on the same component is not affected. When the snooze ends, by its deadline or by Unsnooze, and the alarm is still raised, the people its rules reach are told again; an alarm that cleared meanwhile gets nothing.

It is not acknowledging (nobody is recorded as having looked), not opting out (that silences only you), and not pausing an action rule (that silences a rule for every alarm). It changes nothing about the alarm itself: the component stays exactly as broken, and an unacknowledged alarm stays in the queue. It needs the alarm:snooze permission, which the Operator role carries; a viewer sees the chip and gets no button.

Terminal window
omniglass component alarm snooze display-1 <alarm-id> --duration 1h
omniglass component alarm unsnooze display-1 <alarm-id>

The clock button on an alarm row (in the Why strip at the top of a component’s or a system’s page, and in the alarms panel, active or recently cleared) opens the alarm’s timeline under the row: everything recorded about it, oldest first. An event line is what a rule saw (its rule-fired when it fired and raised the alarm, its rule-cleared when it cleared and resolved it), named by the rule and the endpoint; an audit line is what was done to the alarm (raised, acknowledged, cleared, snoozed, unsnoozed, snooze ended) and by whom, a person by name or the rule the platform acted for. A notify line is a notification the alarm’s raise or clear queued, read as a status row: its target, how its delivery stands (on its way, sent, failed with the receiver’s answer and a Retry, or snoozed with the snooze’s reason), and the action rule that queued it. A hand-raised alarm’s timeline is its audit lines alone. The same button sits on each open alarm in a rule’s blade on the Event rules page. Click it again to fold the timeline away; any number can be open at once.

From the CLI: omniglass component alarm list <name> [--include-cleared] [--unacknowledged], omniglass component alarm create <name> --severity <level> --message <text>, omniglass component alarm acknowledge <name> <id>, omniglass component alarm timeline <name> <id>, and omniglass component alarm delete <name> <id>.

The bot button on an active alarm (in the Why strip and the alarms panel) asks omnibot to troubleshoot it: the panel opens and runs the triage-alarm skill the server ships on that alarm, in a new conversation of its own: an earlier conversation stays stored and the triage does not run on top of it. Omnibot is handed the alarm by reference, its component and the rule that raised it (or, for a hand-raised alarm, when it was raised), never the message or anything else the row shows, and it reads the component, its alarms and its reachability itself, under your grants. It says whether the alarm is still true, the likely cause with its evidence, and one next step, and changes nothing until you agree: any write it proposes waits on your agent policy like every other. A cleared alarm offers no button: there is nothing left to troubleshoot. It needs the assistant:use permission; without it the row has no button.

The auditorium DSP's blade, its detail page in a side panel: the Why strip holds the high alarm the reachability rule raised, Reachability lost, with Acknowledge, Snooze, the bot button that asks omnibot to troubleshoot it and its timeline, then what it is, the systems it serves, its vitals and collection.
The auditorium DSP's blade, its detail page in a side panel: the Why strip holds the high alarm the reachability rule raised, Reachability lost, with Acknowledge, Snooze, the bot button that asks omnibot to troubleshoot it and its timeline, then what it is, the systems it serves, its vitals and collection.

Alarms in the sidebar is the fleet’s alarm queue: every active alarm on the components you can read, one row each, the worst severity first and the newest first within a severity. Each row names its component (a link to its page), the systems it is a member of and the location it sits in (each a link; a component placed only through its system shows that system’s location), when it was raised (hover for the exact time), how long it has been raised (a Duration that counts up while it stays open) and its state: new until somebody acknowledges it, acked by the person who did after, and a snooze chip while its notifications are held back. It is the page to triage from, so an operator does not open a component at a time. Click a row for its timeline, the same one the component’s panel opens.

The Alarms page: the fleet's active alarms, worst first, one row each with its component, system, location, when it was raised and whether it is acknowledged or snoozed, and the Acknowledge, Snooze and omnibot buttons on each row.
The Alarms page: the fleet's active alarms, worst first, one row each with its component, system, location, when it was raised and whether it is acknowledged or snoozed, and the Acknowledge, Snooze and omnibot buttons on each row.

Filter it with the chips above the list: severity (one level or several), location (the named location and everything below it), ack (yes or no) and snoozed (yes or no). The filter is the address: /alarms?state=active&severity=disaster,high&ack=no is the unacknowledged Disaster and High alarms, and a link to it opens the same queue (it is also how the page is handed to omnibot, as its route and filter, never a uuid). A bare word filters the loaded rows by component, system or message.

Work it from the row. Acknowledge, Snooze (or Unsnooze) and the omnibot button are the same controls as on the component’s panel and need the same permissions (alarm:acknowledge, alarm:snooze, assistant:use); a viewer sees the state of every alarm and no buttons. The queue reads again the moment you act, and otherwise every few seconds, so another operator’s acknowledgement shows without a reload. It is a poll, not a stream: nothing pushes alarm transitions yet.

The queue loads 100 alarms and offers Load 100 more below them, so a storm of a thousand pages instead of cutting off. The same read is GET /alarms (omniglass alarm list, with --severity, --location, --acknowledged, --snoozed and --page-token), and is scoped the same way: an alarm on a component you cannot read is never named. Acknowledging many at once is not built yet.

The queue shows what is wrong now. To read what was wrong, switch the Open / Cleared / All control above the list to Cleared: every alarm that has cleared, with Raised, Cleared and Duration columns, so “that display went dark yesterday, for how long?” is a row, not a hunt through components. All shows both, an open alarm’s Duration counting up and a cleared one’s fixed at raised to cleared. Click the Duration header to sort the long ones to the top. The state is in the address (/alarms?state=cleared), alongside the filters, so a link to it opens the same history. A cleared row opens the same drawer, with the alarm’s timeline and Lasted; a cleared alarm has nothing left to acknowledge, but a snooze still applies.

A component’s own Recently cleared list and a system’s Activity say the same, “lasted 12m”, in the same words. It is one formatter everywhere, the coarsest two units (45s, 12m, 3h 12m, 2d 2h).

Over the API it is GET /alarms?state=cleared (omniglass alarm list --state cleared), with the state parameter one of active (the default), cleared or all, and since and until (RFC 3339) bounding the overlap of an alarm’s raised-to-cleared interval with the range: an alarm raised before since and still open in the range is included, one cleared before since or raised after until is not, and since after until is a 400. Permission and scope are unchanged: you only read the history of components you can read. The history is kept; nothing prunes it.

Find a cleared alarm and how long it lasted Clear an alarm from its component, then read it in the alarm page's Cleared filter with when it cleared and how long it was raised, and open its history. Watch the video (mp4)
Every step, captioned (8 steps)
  1. The display has a High alarm, History demo input lost. Fix the fault, then clear it.

    Step 1: The display has a High alarm, History demo input lost. Fix the fault, then clear it.
  2. Clearing is a write, so the page goes into edit mode first.

    Step 2: Clearing is a write, so the page goes into edit mode first.
  3. Clear the alarm. The row is kept rather than deleted, under Recently cleared.

    Step 3: Clear the alarm. The row is kept rather than deleted, under Recently cleared.
  4. The component's own panel says how long it was raised.

    Step 4: The component's own panel says how long it was raised.
  5. The alarm page's Cleared filter is the fleet's history. The address carries the filter, so a link to it shows the same list.

    Step 5: The alarm page's Cleared filter is the fleet's history. The address carries the filter, so a link to it shows the same list.
  6. Raised, when it cleared and how long it lasted, one row each. Sort by Duration to find the long ones.

    Step 6: Raised, when it cleared and how long it lasted, one row each. Sort by Duration to find the long ones.
  7. Open the row for the same drawer the queue uses, with the alarm's history.

    Step 7: Open the row for the same drawer the queue uses, with the alarm's history.
  8. Its raise and its clear, with the time between them as Lasted.

    Step 8: Its raise and its clear, with the time between them as Lasted.

A system and a location each carry a health, shown as a badge on its detail view and in the outline:

healthmeans
healthynothing it depends on is impaired
incompletesomething it needs was never installed
degradedit is working, worse
outageit is not working

incomplete is not a fault. It means a slot is short because nobody has put the hardware in yet, so no alarm will ever fire for it: there is nothing there to alarm. A system mid-installation reads incomplete, and it stays that way until somebody fills the slot. That is deliberately a different colour from a system that is broken, because during a rollout most of your fleet is in the first state and you need to be able to see past it to the second.

A location’s health is the worst of every system placed anywhere beneath it, so a top-level location reads red when one system anywhere beneath it is out. A system’s health is the worst contribution among the slots it needs filled, and the line beside it names the slots behind it. A component in the system that fills no slot is tracked, and its open alarms show on the system with not in a slot beside them, but it does not count toward the system’s health. A system’s health comes only from rules somebody declared, its slots and what each slot’s impact says losing it costs, never from an alarm merely existing: an alarm that should not move the system (a touch panel’s firmware being out of date, say) stays on the component until somebody places it in a slot. A system-level rule such as “any open alarm on a member degrades this system” is something you would declare, and is designed under #1002.

The system’s view is the answer to “why”. A bare “degraded” gives you nothing to do, so the view names the chain instead: Why leads its Overview, each alarm naming the down component and the slot it impairs, and the component rows beneath carry the arithmetic. Read together they are this chain:

alarm on mic-pod-2 (high, "no audio on channel 1")
-> mic-pod-2 is down (its own health, from the alarm)
-> slot room-mic wants 2, and mic-pod-2 no longer occupies its slot
-> only 1 assigned component still occupies it
-> slot impaired, impact degraded
-> hq-r1 is degraded

Read it bottom-up when you want the health and top-down when you want the fix. A slot can also be impaired with no down component named, which means it is short-staffed rather than broken: nobody is assigned. Those are two different jobs, and the view keeps them apart: an unstaffed seat reads incomplete as an empty slot, a down occupant keeps its seat and reads the impact its slot declared.

The History strip is the answer to “since when”. It is the same shape as the reachability availability strip: one segment per stretch the entity held a health, drawn from the recorded edges over the page’s time range (the last 30 days unless you pick another). It is not a sample and not a redraw of what somebody happened to look at; each edge was written at the moment the fleet changed, by the write that changed it. That is what makes “it broke Friday at 18:40 and came back Monday at 09:15” answerable on Tuesday.

From the CLI: omniglass system health list <name> and omniglass location health list <name>.

Once, in order, on a real system:

  1. Declare the slots with their impact. On the system’s standard, give Main Display impact outage and Room Microphone impact degraded with quorum 2, accepting video-bar. Every conforming system inherits both immediately.
  2. Staff the system. Assign components to each slot from the system’s Slots panel. A component of the wrong type is refused by name (component "panel-1" is a display; slot "Room Microphone" wants a video-bar), so a wrong assignment never becomes a wrong health.
  3. Raise an alarm. On one of the mic pods, raise a high alarm.
  4. Watch the system move. The system goes degraded (the room-mic slot now has one occupant against a quorum of 2, and its impact is degraded), and the location above it follows. Had the alarm been on the main display instead, the system would be an outage, because that slot says so.
  5. Read the system’s Overview to find the cause: the active alarm, the component it took down and the slot that component fills, with the message and the time it was raised. Walk to the pod.
  6. Clear the alarm once it is fixed. The system returns to healthy in the same transaction, and the alarm row stays in the component’s history.
  7. Read the history afterwards. The transition strip now shows the exact stretch the system was degraded, with the edge at the moment the alarm went up rather than the moment you opened this page. That is the whole point: come back in three weeks and the answer is still exact.