Migration
Migrations from OBM, Enterprise Alert and an external heartbeat service are evidence-based: migrate what is really used, and show by replay and shadow comparison that Excubio decides what the incumbent decided, or explain every difference.
1. Excubio Discover
excubio-discover runs on a jump host with read-only access to the
incumbent databases (Microsoft SQL Server or PostgreSQL), to CSV exports
of them (an OBM on Oracle), or with a read-only API key for an external
heartbeat service (§6). It reads
configuration, catalog and event tables and aggregates. It never reads
the texts of events or of messages sent to people, scripts or contact
addresses, and it outputs directory names of people only as keyed hashes
(§1.3). Output goes to local files; the same input gives
the same files.
| Command | Output |
|---|---|
discover inventory | inventory.json: channels (by OBM policy), volumes per day, duplicates and the dedup rate, pages from stages outside the page stages, heartbeat streams (the missing-recurrence rules with their policies and nodes), assignment groups, custom attributes and their most frequent values, forwarding rules, the dedup, pairwise and event age settings, the counts of OBM's rules, its downtimes and those an external system manages; EA providers and connectors, policies with execution counts and last run, teams, people, profiles and their media, the media chains, escalation groups, on-call plans, maintenance windows, subscriptions, the views of the CMDB lookup, the SMS transport; the policy templates; and the blockers below. |
discover usage | usage.json: what fired within the window, per policy (with its conditions and how its events were closed: by a component or by hand, and the median time to the close), channel, group, team and EA policy; EA's alert states and types with the incident states and kinds they map to; dead configuration separately: templates and conditions without events, EA policies that didn't run, groups without events, teams without alerts, inactive plans, correlation rules without events, disabled rules. |
discover draft | A draft spec tree: Sources with mappings from the opcmsg, SNMP and REST listener policies (the Sources of one OBM installation's channels share one keyNamespace, so close keys reach across them as in OBM, integrations.md §2), ValueMaps for flag spellings and ETI reset values, Heartbeats from missing-recurrence rules (one with groupBy where a rule watches many nodes), StormRules, TeamMap and Classify rules from the groups and their assignments, suppressions as ActionRules drop, Calendars from the time frames of paging policies, ActionRules from the policies that fired, DowntimeSchedules, a TicketProfile per forwarding rule, TrapRule stubs per trap policy, InventorySources (a ucmdb source for OBM's RTSM, an sql source for the CMDB EA's lookup reads), CorrelationPatterns from OBM's combination rules; draft rotations with their overrides and the teams' stakeholders; and draft.json: what couldn't be translated and why, and the tree's validation (§1.5). |
discover shadow | The incumbent's side of the shadow comparison for a time range, as a file for excubioctl shadow import (§2). |
discover signl4 | signl4.json: the heartbeat use of a SIGNL4 tenant through its API and the drafted Watch checks (§6). |
discover report | The assessment report: one HTML file without external assets or scripts, with the funnel from events to pages, what to migrate and what to drop, the teams with what their cutover changes, the risks and the effort (§1.5). |
The window is the 90 days before the run (--window, --as-of).
Blockers are used features that 1.0 doesn't cover or that need a decision: EA policies that page a person directly; EA schedules, conferences, callouts, remote actions and scripts; Teams, Threema, Slack and Telegram media; notification profiles with more than three time frames; pageable contacts without a directory account; OBM's enabled event-processing and forwarding scripts; OBM's topology correlation rules, with the symptoms they made in the window, their relations and their cause and symptom CI types and indicators; the conditions of OBM's stream correlation rules that a draft can't express (the parts of their event filters of §1.5); and the callers of OBM's downtime API (the downtimes an external system manages, by that system and the keyed hash of the OBM user who changed them last), which move to the hub's downtime API. The configured SMS transport of EA (SMPP, UCP, GSM modem) is reported too: an SMPP account can serve the hub's local fallback channel (architecture.md §7).
1.1 What Discover reads from OBM
Discover reads OBM's tables with its own queries, which name the columns
below and nothing else. The configuration tables are those of the first
customer (C001_) and lie in the event database with ALL_EVENTS; the
downtimes lie in the management database.
| Table | Columns | For |
|---|---|---|
ALL_EVENTS | ID, STATE, SEVERITY, PRIORITY, CATEGORY, APPLICATION, OBJECT, NODEHINTS_DNSNAME, NODEHINTS_HINT, ASSIGNED_GROUP_UUID, CAUSE_ID, TIME_CREATED, DUPLICATE_COUNT, ETI_HINT, EVENT_KEY, CLOSE_KEY_PATTERN, LOG_ONLY, POLICY_TYPE, POLICY_NAME, CONDITION_NAME, CORRELATION_TYPE, CORRELATION_RULE_ID; the window's events by TIME_CREATED | usage, the shadow records, what the draft takes from the events; per correlation rule, the events it made symptoms: the shadow records of a stream correlation rule's symptoms (§2), the topology blockers' counts |
EVENT_CUSTOM_ATTRIBUTES | EVENT_ID, IDX (the name), ELT (the value), of the window's events | custom attributes, stages, flag spellings |
EVENT_FORWARDING_INFO | EVENT_ID, FORWARDING_TYPE, RULE_NAME, of the window's events | forwarding rules, TicketProfiles; the ticket class |
HISTORY_LINE | EVENT_REF (the event), TIME_CHANGED, CURRENT_EVENT_STATE, COMPONENT_TYPE (set when a component, not a user, made the change), of the window's events; never USER_UUID | usage: how events were closed |
OAS_USER_GROUP | ID, NAME, EVENT_ASSIGNMENT | assignment groups, the TeamMap |
C001_FILTER_CONFIG | ID, NAME, PURPOSE, XML_DEFINITION | the event filters of the rules below (§1.5) |
C001_GROUP_FILTER_MAPPINGS | ID, FILTER_ID, GROUP_UUID, MAPPING_ORDER | group assignments: Classify team rules |
C001_ESUP_RULE | ID, LABEL, ACTIVE, FILTER | suppressions: ActionRules drop |
C001_MAPPING_RULES | ID, LABEL, IS_ENABLED, ETI_INDICATOR, ETI_VALUE, FILTER_CONFIGURATIONS_ID | ETI mappings, listed with their selectors |
C001_ESS_CONFIGS, C001_ESS_EXCEPTIONS | ID, ENABLED, UPPER_THRESHOLD, LOWER_THRESHOLD, TIME_INTERVAL_SEC; ID, ESS_ID, APPLY_ORDER, EXC_MODE, FILTER_ID | StormRules; their exceptions listed with their selectors |
C001_SBEC_RULE, C001_SBEC_EVTSET | ID, SCENARIO (REPETITION, COMBINATION, MISSINGRECURRENCE), LABEL, ACTIVE, TIME_INTERVAL (seconds), REPETITION_COUNT; ID, RULE_ID, NAME, APPLY_ORDER, FILTER (the events a rule watches) | holds, CorrelationPatterns and their roles, Heartbeats; blockers |
C001_CORRELATION_RULES, C001_CR_VARIABLES, C001_CR_PATH_CONSTRAINTS, C001_CR_SYMPTOMS | ID, NAME, LABEL, IS_ENABLED; ID, CORRELATION_RULE_ID, CI_TYPE; ID, LINK_TYPE, START_VAR_ID, END_VAR_ID; ID, CORRELATION_RULE_ID, ETI_INDICATOR, ETI_VALUE, VARIABLE, IS_CAUSE | topology correlation, a blocker with its relations, cause and symptoms |
C001_DOWNTIME_CONFIG, C001_DT_ACTIVE_STEPS | ID, DT_CATEGORY_ID, FILTER_ID; DT_CONFIG_ID, STEP_NAME | what OBM's downtimes of a category do, listed |
C001_EA_SCRIPT_DEF, C001_FORWARDING_SCRIPT_DEF | ID, SCRIPT_NAME, ENABLED; never SCRIPT | scripts, a blocker |
DT_DOWNTIME (management database) | ID, DT_NAME, ACTIVE, CATEGORY_ID, CREATION_DATE, LAST_MODIFIED_BY_USER (hashed as it is read, §1.3), DT_MANAGING_SYSTEM, DT_EXTERNAL_REF | the callers of the downtime API, a blocker |
Besides the tables Discover reads three exports:
- Policy templates (
--policies DIR), exported from OBM's monitoring automation or from the Operations Connectors: the<id>_datafile of each template, in OBM's policy data syntax. Discover takes Open Message Interface (OPCMSG), SNMP interceptor (SNMP) and REST web service listener policies (XMLorGENERIC_SOURCE, the listener path asLOGPATH): their defaults andDEFAULTMSG, the message conditions with what they match and set, and the suppress conditions. A file that doesn't parse is listed. - OBM's infrastructure settings (
--obm-settings FILE) asname = valuelines:opr.dedup.*(matching by key, attributes or ETI, maximum age, whether a duplicate updates title, description, severity (useNew,mostCritical) and custom attributes (cas)),opr.pairwise.*(by key or by ETI (key.enable,eti.enable), closed or resolved (change.state), events of the same key included (change.same.key)) and the maximum event age (opr.outdatedEventCheck.maxAgeHours). - The RTSM and the downtimes (
--rtsm-csv DIR):eti.csv(indicator,reset_value),tql.csv(nameof a TQL query that gives the CIs routing uses,ci_typesseparated by;) anddowntimes.csv, OBM's recurring downtimes (name,cisanddaysseparated by;,timezone,startasHH:MM,durationas in the spec).
1.2 What Discover reads from Enterprise Alert
Enterprise Alert's schema differs between versions, so Discover reads its
record sets with the queries of a queries file (--ea-queries, TOML: a
[queries] table of set name to SELECT), or from CSV files of the
same sets. Of a query's columns Discover keeps those below, matched by
name without case, so a query that returns more gives nothing more away.
Flags are 1, true, yes or their negations; lists are separated by
;; times are RFC 3339, or UTC without zone. Time frames are windows
separated by ;, each DAYS HH:MM-HH:MM with the days a list of days or
ranges separated by , (mon-fri 07:00-17:00;sat 08:00-12:00); a window
whose end is at or before its start runs into the next day.
| Set | Columns | For |
|---|---|---|
teams | id, name, timezone, business_hours (time frames) | teams and their slugs, Calendars |
people | id, directory_name (distinguished name or user principal name, hashed as it is read, §1.3), account, pageable | rotations, the first person notified, blockers |
policies | id, name, enabled, executions, last_run, team_id, target_type (team, group, email, person, schedule, conference, callout, remote-action, script), target (an escalation group's ID), min_occurrences, delay (seconds), hours (time frames, or business for the team's) | ActionRules, Calendars, blockers |
policy_conditions | policy_id, field, operator (equals, not equals, in, contains, starts with, ends with, not contains, exists; others are listed), value | selectors |
maintenance | policy_id, name, days, start (HH:MM), duration (as in the spec), timezone (default the team's) | DowntimeSchedules |
plans | id, team_id, name, active, handover (HH:MM), timezone, backup, starts (a date), times (time frames: the plan times), holidays (a region), except_days (dates) | rotations |
plan_levels | plan_id, level, interval_days, members (person IDs in order), position (the member on call at starts, from 0) | layers |
shifts | plan_id, level, person_id, starts_at, ends_at, stand_in; those that end after the window | overrides |
groups | id, team_id, name, broadcast, rotate (members rotate on escalation), directory_synced | escalation groups: rotations |
group_members | group_id, person_id, level, response_delay (seconds) | their layers and escalation |
profiles | person_id, name, time_frames (a count), media (the chain in order), timezone | blockers, the media chains, rotations |
subscriptions | team_id, person_id, min_severity | team stakeholders |
cmdb_lookups | name, view, fields (the columns the lookup reads) | an sql InventorySource |
alerts | id, external_id (the OBM event ID), policy_id, team_id, created_at, node, check, state, type; never the text | usage, the shadow records |
notifications | alert_id, person_id, seq, iteration, sent_at, medium; never the text or the address | the first person notified, usage |
providers | id, name, kind (event-provider, rest-client, connector), external_id (whether it passes the OBM event ID) | the comparison join (§2) |
features | kind (schedule, conference, callout, remote-action, script, sms-transport), name, uses | blockers |
- Policies. Discover keeps policies that ran in the window: an alert
of the window or a last run in it. Their conditions become selectors
(
severity,node,title;msggrpasl.msg_grp; any other field, orcustom:<name>, as the label of its normalised name) and their targetspage(a team: the team's first drafted rotation, else its default rotation; an escalation group: its rotation) ornotify(email: the team); time frames become a Calendar the rule's selector requires (calendar.<name>), one per distinct time frames and time zone. Policies with the same target, hold and Calendar whose conditions differ only in the values of oneequals,inor glob condition become one ActionRule with the values joined. A policy with a condition without an equivalent, or with another target, is listed. - Noise gates. Minimum occurrences of a policy become a
holdwithcountwithin 10 min on its ActionRule, a delay aholdwithfor(spec-format.md §3.9); maintenance windows become DowntimeSchedules with the policies' selectors. - CMDB lookup. The view of
cmdb_lookupswhose fields include an ID or a name becomes thecisquery of ansqlInventorySourceea-cmdb: fields named likeid,name,class,type,subtypeor an assignment group take those columns, the othersattr_<name>. Other views are listed with their fields, so their queries can be written by hand. - On-call plans. The levels of an EA plan are on call at the same time,
so each level of an active plan becomes its own rotation
(
<plan>-level-<n>, or<plan>for a plan of one level), and each counts towards the rotations limit. An interval of 1 or 7 days becomesdailyorweekly, others acustomlength in days; the members in order fromposition, as hashes, are the layer's people fromstartsat the hand-over time, and the plan times the layer's restrictions. The plan's backup option becomes anext-in-layerescalation. A planned shift becomes an override; a stand-in becomes an override created withreplace, which shortens or splits the planned shift (on-call.md §2); a planned shift that overlaps an earlier one is listed. Holidays and exception days are listed per plan for a holiday calendar on the layers, as are members whose profile's time zone isn't the plan's. - Escalation groups become a rotation each (the group's slug), its
members in level order as one layer, mode
allfor a broadcast group; the escalation pages the first member, then the next after each member's response delay. A group whose members don't rotate, a broadcast over several levels and a group synced from the directory are listed. - Alert states. EA's states and its alert and entity types are mapped
by name to incident states (
triggered,acknowledged,resolved) and kinds, never by number; a name without a mapping is shown without one. - Subscription feeds become team stakeholders
(on-call.md §11) with their minimum
severity (default
warning).
1.3 People
Draft rotations need to name people without Discover exporting names.
Discover reads each person's directory name (distinguished name or user
principal name) and keeps only a keyed hash of it, with a key given at
run time (--people-key-file; draft and report need it when they
read EA): HMAC-SHA256 with the key (a key file's content without
surrounding white space, at least 16 characters) over the name in lower
case, written as hex. Without a key it keeps nothing of the name. The
cloud's rotation import (excubioctl rotation import) hashes the login
names and e-mail addresses of the tenant's people with the same key and
matches them. People without a match are listed by their hash for the
team admin to resolve. OBM users that changed downtimes are hashed the
same way.
1.4 Connections and exports
- Databases.
--obm FILE,--obm-mgmt FILE(OBM's management database) and--ea FILEname a file with the connection string, elseEXCUBIO_DISCOVER_OBM,EXCUBIO_DISCOVER_OBM_MGMTandEXCUBIO_DISCOVER_EAhold it; a connection string is never an argument, where other users of the host could read it.mssql://USER:PASSWORD@HOST[:PORT]/DATABASE(port 1433) connects with TLS required; the optionsencrypt=on(TLS if the server offers it) oroff,trust_server_certificate=trueandca_file=PATH(the CA of the server's certificate) change that.postgres://takes libpq's URL form. The login needsSELECTon the tables and sets read, nothing else. - CSV exports.
--obm-csv DIR(the tables of both OBM databases) and--ea-csv DIRread a directory with one file per table or set,<name>.csv(the name without case:ALL_EVENTS.csv,teams.csv), in the CSV format of the hub'scsvinventory sources: RFC 4180, UTF-8, a header row naming the columns, an empty field for no value. Columns beyond those of §1.1 and §1.2 are ignored; a missing file is a table without rows, but forALL_EVENTS.csv. Times are RFC 3339 orYYYY-MM-DD HH:MM:SS[.fff]in UTC, as an export of aDATETIMEcolumn gives them.
1.5 The draft
discover draft -o DIR writes the tree under DIR/spec, the rotations
per team under DIR/rotations (<team>.json: the rotations of
importRotations with their overrides, and the team's stakeholders,
for excubioctl rotation import DIR/rotations) and
DIR/draft.json: the team slugs the draft names, the rotations it
drafts and those it pages without drafting, the paths, what wasn't
translated and why, and the result of L0 and L1 validation
(spec-format.md §5) against those
teams and rotations; it exits with 3 when the tree doesn't validate.
Every object is owned by --owner (default the unrouted team).
| From | Becomes |
|---|---|
| The opcmsg policies that fired | One Source opcmsg (excubio-msg sends a node's messages to one Source): per condition, in name and condition order, its tests as CEL over the channel's variables, chained into key (MSGKEY), closeKey (MSGKEYRELATION ACK, in OBM's syntax), severity, title (TEXT), service (SERVICE_NAME), role info (SERVERLOGONLY) and the labels of CUSTOM and policy; check is application:object; at most 40 conditions |
| The REST listener policies that fired | A Source obm-listener each: listenerPath from LOGPATH, the properties (<$DATA:/a/b>) as body.a.b, the key from MSGKEY, else the policy, node and text |
| The SNMP policies that fired | A TrapRule stub each with a rule per condition (trapOid from $e, $G, $S), and a Source snmp with a Secret for its community |
| OBM's dedup and pairwise settings | The Sources' duplicates; without pairwise closing by ETI, no etiResetValues |
| The RTSM's indicators | The ValueMap eti-reset of the opcmsg Source |
Custom attributes whose values are all flags in other spellings than true and false | The ValueMap flag-spellings (yes, ja, 1 … to true, their negations to false), listed per attribute for a Classify rule |
| Storm suppression | A StormRule per node; its exceptions listed with their selectors |
| Missing-recurrence rules | A Heartbeat on the events of the rule's event set (else the policies of its events), groupBy node where they watch several nodes |
| Combination rules | A CorrelationPattern with a role per event set (else per policy), members = "route", and an ActionRule on its group alerts (kind = group, group.pattern) that pages the team most of the rule's events were assigned to |
| Repetition rules | hold count and within on the ActionRules that paged their events |
| OBM's recurring downtimes | DowntimeSchedules by cis |
| Group assignments | Classify team rules with the selectors of their filters, in mapping order before the other team rules |
| Assignment groups | The TeamMap groups; a Classify team per OBM policy whose events went to one group in 90 % of the cases, after the inventory's group |
| Suppressions | ActionRules drop with the selectors of their filters, before the other ActionRules |
| Forwarding rules | A TicketProfile per rule (sm9, with a placeholder URL and Secret) and an ActionRule ticket on the policies whose events it forwarded |
| The RTSM's TQL queries | An InventorySource ucmdb with their names as queries |
| EA policies, plans, escalation groups, maintenance windows, time frames, subscriptions and the CMDB lookup | ActionRules, Calendars, DowntimeSchedules, the sql InventorySource, rotations with overrides, stakeholders (§1.2) |
| Every draft | Settings routing with shadowTeams = ["*"] and the stage of --stage-attribute; Settings notify with placeholders where a notify is drafted |
Event filters. OBM's filters (XML_DEFINITION) are trees of And,
Or, Not and statements over an event property or a custom attribute.
Discover turns a filter into one selector per case of its disjunctive
form (at most 8; Ors of one key join their values), in the short form
of spec-format.md §2: severity, title,
the node (node, nodeHints.*), category as l.msg_grp,
application and object as their labels, the policy as l.policy
and a custom attribute as the label of its normalised name; equality and
lists as In, contains, LIKE and patterns of literals and <*> as
globs (ignoring case through character classes), emptiness as
DoesNotExist, a negation as its opposite operator. A filter that uses
anything else (other properties such as the description, the priority,
the state, ETIs or CI types; time conditions; other patterns) isn't
translated: draft.json names, per filter and rule, the parts selectors
can't express. A suppression whose filter matches every event is listed,
not dropped.
Patterns in policy conditions match as OBM's do, unanchored unless they
start with ^ or end with $, as RE2 expressions without the search
quirks of OBM's matcher; negations, and the variables a condition's
pattern assigns for its set, aren't translated. Suppress conditions,
actions, ETI mappings and storm exceptions (with their selectors),
topology correlation, what OBM's downtime categories keep active,
one-off downtimes and the settings the draft can't express (a dedup
maximum age, updates of single custom attributes, closing to resolved,
the same key excluded from pairwise closing, the maximum event age) are
listed.
These tables, their columns and the filter format follow a static analysis of OBM; they are not verified against a running installation.
Effort in the report counts the manual work: a quarter hour per drafted object to review, an hour per item not translated, four hours per blocker and four per team cutover.
2. Shadow mode
The hub receives the same events as the incumbent, in one of two ways:
- Upstream: it reads them from OBM (integrations.md §3).
- Parallel intake: sources send to both (a second Alertmanager receiver, a second trap destination). Excubio then sees events before OBM's event-processing scripts change them, while OBM's tickets reflect the changed events; Discover lists the scripts, so these differences are expected.
In shadow mode (Settings routing.shadowTeams, globs over team slugs),
decisions are recorded but page, ticket, writeback and webhook
actions don't run, and notify goes to the shadow mailbox (Settings
notify shadowMailbox) if one is configured and doesn't run otherwise.
A notify to the shadow mailbox is a run of its own in place of the
action's recipients, in the action's mode, which the team's notify
after its cutover doesn't continue.
A team's shadow mode is decided by the team of each decision; the decision
records the other actions as suppressed by shadow mode. A team leaves shadow mode
with a revision: its open alerts aren't routed again, and an alert's next
decision starts the actions it has no run of
(pipeline.md §10), so the cutover doesn't page
again what the incumbent paged.
The shadow comparison joins Excubio's decisions with the incumbent's
tickets on the source event ID (OBM event ID = EA ticket external ID, where
the EA client or provider passes it). Where EA generated its own ID, the
join matches node, check and time within 2 minutes and marks the pair
fuzzy. It reports per team:
| Class | Meaning |
|---|---|
| match | Same team and the same action class (page, e-mail, ticket, none) |
| excubio-only | Excubio would page or ticket; the incumbent didn't |
| incumbent-only | The incumbent paged or ticketed; Excubio wouldn't |
| team-differs | Different team |
| person-differs | Same team, but the first person Excubio's shifts name is not the first person the incumbent notified |
| grouped | The incumbent paged n times; Excubio's grouping gives one incident |
| release | Excubio pages at the end of a downtime or storm for an alert the incumbent had suppressed or dropped |
- Excubio's side of an alert is the highest action class among the
actions of its decisions that ran or that shadow mode recorded; its
team is the team of that action, or of its first decision. Its person
is the first person the replicated shifts name for the paged rotation
at the alert's first event, an override before the layers. Its source
event ID is its label
source_event_idwhere the Source's mapping sets one, and forobm-upstreamits key, the OBM event ID. - Classes. The action classes rank page, ticket, e-mail, none.
excubio-onlyandincumbent-onlyname the side whose class ranks higher where that is a page or a ticket (releaseinstead ofexcubio-onlywhen Excubio's first page came with areleasedecision and the incumbent's record says none); otherwise a different team isteam-differs; two pages aregroupedwhen Excubio's page attaches to a group's incident or the incumbent paged more often for the event, andperson-differswhen both persons are known and differ; the rest, e-mail against none included, ismatch. A record or an alert without a pair is compared with nothing done, and is no case unless it pages or tickets. A case is the incumbent's team's forincumbent-onlyand Excubio's team's otherwise.
excubioctl shadow report --team … --since … prints it; the hub UI shows it
per team.
The incumbent's side reaches the hub as files:
excubio-discover shadow --since … [--until …]reads, for the range, what the incumbent did and writes one NDJSON record per source event: per OBM event of the range, and per EA alert whose external ID is none of them. A record has the time, the source event ID where the incumbent has it (the OBM event ID), node and check (application:object, as the drafted opcmsg mapping sets it), the incumbent's team (the EA alert's team, else the event's assignment group, as the draft's team slugs), the action class (pagefor an EA alert,e-mailwhere its policy only mails,ticketfor a forwarded event, elsenone), how many times it paged, and, with the people key, the first person it notified as the keyed hash of §1.3. A symptom of a stream correlation rule (an event with the rule and a cause) takes its cause's team and action, without pages of its own: the incumbent paged for the group once, as the drafted CorrelationPattern groups them. It writes no message text, name or number.excubioctl shadow import FILEsends the file to the hub (importShadow,api/hub.yaml). With--people-key-fileit first reads the tenant's people from the cloud (searchPeople), hashes their e-mail addresses with the key as the rotation import does, and replaces each record's hash by the cloud's person ID; a hash without a match stays out, and its case is compared by team and action only. Without the key every hash stays out. The hub never sees the key or a directory name.- An import covers its range: its records replace those of earlier
imports within the range, and the hub compares the range again, writes
its cases anew and keeps the explanation of a case whose alert, source
event and class are unchanged. Imports are run daily while a team is in
shadow mode, by a scheduled job on the jump host; ranges may overlap.
The report and the cutover readiness (§4) count
only the time that imports cover and name the days of the shadow window
without one (
schema/hub.sqlshadow_import).
3. Equivalence
Equivalence is shown on live events. The hub stores the events it
receives in shadow mode, so every change set during the migration is
replayed against them (pipeline.md §12), and the
comparison classes of §2 are computed for its decisions against the
incumbent's tickets for the same events: while imports of the incumbent's
side cover the replay's range, the replay is full, and its result counts
the classes per team (equivalence, api/hub.yaml
ReplayResult), as the comparison of §2 joins the records with the
candidate's alerts in the replay's sandbox. The evidence covers the events
since the team's shadow mode began, within the event retention
(compliance.md §2); the incumbents' history
before it enters only Discover's usage and report (§1).
4. Cutover per team
-
A team is ready when its readiness checks pass. The hub computes them from the shadow report, the spec and the rotation readiness that the cloud replicates, and shows them on the cutover page (
excubioctl shadow readiness --team …):Check Passes when Shadow No unexplained incumbent-onlyorperson-differscases for 14 days, or the event retention if it is shorterPeople Everyone in the rotations the team's ActionRules page is reachable (on-call.md §1) and has acknowledged a test page Coverage Those rotations have no gap in the next 14 days Escalation Those rotations meet the tenant's minimums (on-call.md §2) Approvers The team has an approver, so it can review changes to its own routingStages No page in the shadow window came from a stage outside routing.pageStagesInventory No open data-quality issue of the team's assignment groups (pipeline.md §15) The rotations are those of the
pageactions that name the team or no team (the alert's team). A day of the shadow window without an import fails the Shadow check. People and Escalation read the rotation readiness the cloud replicates; a rotation without it fails both. Coverage reads the replicated shifts. Approvers passes with an activeapproverbinding of the team in the hub, whose IdP group the hub can't count. Stages passes withoutrouting.stage.People who use the incumbent's app install the Excubio app and pass a test page before the cutover (mobile.md §4).
-
Process with the cutover. For each team, Discover's report lists what changes with its cutover: shared phones that become named rotations (with the phone as handset during the transition), the escalation level it gains, the routing files it will own, and the team's hygiene report over the shadow period (pipeline.md §18). The team reviews them in its first change set.
-
A team that passes a shared on-call phone today can start with that phone as its rotation's handset (on-call.md §2) and the members as the layer's people, so the shifts record who carried it; personal numbers can follow later without another cutover.
-
At cutover, the team leaves shadow mode in the hub, and the incumbent's policies for the team are disabled, in one change.
-
Rollback puts the team back into shadow mode and re-enables the incumbent's policies. Both systems stay ready until the last team has moved.
-
Order: low-volume teams with clear inventory ownership first; teams with storms and high volume last, after grouping is tuned on their history.
5. Phases
| Phase | Excubio | Incumbents |
|---|---|---|
| Paging first | OBM upstream intake; routing with the inventory; paging; e-mail; the paging engine's tickets; Watch | OBM stays the event hub; the paging engine is switched off; the external heartbeat service is switched off after four weeks of Watch next to it (§6). |
| Event hub | Direct intake from every source; heartbeats; storms; downtimes; inventory sources and correlation patterns, first with members = "route" and compared with OBM's correlation in shadow mode; OBM's ticket forwarding; write-back to Icinga | OBM is switched off. |
6. External heartbeat service
An external heartbeat service such as a SIGNL4 tenant has no SQL database
and usually no heartbeat object: absence detection is built from inbound
event sources and scripts. discover signl4 reads the tenant through its
API with a read-only key (--signl4-key-file, else
EXCUBIO_DISCOVER_SIGNL4_KEY; sent as X-S4-Api-Key) at the base URL
https://connect.signl4.com/api (--signl4-url):
- event sources with their last event (
GET /v2/eventSources,lastEventDate) and their events of the 90 days (GET /v2/eventSources/{id}/events?since=…), which show the live senders (an event within the last day) and their real beat interval (the median time between events) and longest gap; - script instances and their state (
GET /v2/scripts/instances), where the absence logic lives; - outbound webhooks (
GET /v2/webhooks, by name) and team schedules (GET /v2/teams,GET /v2/teams/{id}/schedules); - 90 days of alerts raised by missing beats (
GET /v2/alerts?since=…, paged bycontinuationToken; an alert of a script instance, by the event source it names), to setinterval(the beat interval in whole minutes) andgrace(the longest gap beyond the interval, at least the interval) of the draftedpushchecks and to predict Watch's flapping guard: the hours with three or more such alerts (watch.md §2).
These calls and their fields are not verified against a real tenant:
the signl4-inventory spike has not run (spikes).
The switch-over:
- Watch checks are created from the draft, and every sender beats both services; a sender that can call only one URL gets a second scheduled call. Watch ignores beat bodies, so senders that post event JSON work unchanged.
- For four weeks, Watch's failures are compared with the old service's alerts per sender; every difference is explained.
- The rotation replica and fallback numbers of every check are verified with a test notification, and the people on the checks' rotations have added the published numbers (on-call.md §4).
- The old service's sources are disabled, and deleted after another week.