Skip to main content

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.

CommandOutput
discover inventoryinventory.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 usageusage.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 draftA 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 shadowThe incumbent's side of the shadow comparison for a time range, as a file for excubioctl shadow import (§2).
discover signl4signl4.json: the heartbeat use of a SIGNL4 tenant through its API and the drafted Watch checks (§6).
discover reportThe 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.

TableColumnsFor
ALL_EVENTSID, 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_CREATEDusage, 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_ATTRIBUTESEVENT_ID, IDX (the name), ELT (the value), of the window's eventscustom attributes, stages, flag spellings
EVENT_FORWARDING_INFOEVENT_ID, FORWARDING_TYPE, RULE_NAME, of the window's eventsforwarding rules, TicketProfiles; the ticket class
HISTORY_LINEEVENT_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_UUIDusage: how events were closed
OAS_USER_GROUPID, NAME, EVENT_ASSIGNMENTassignment groups, the TeamMap
C001_FILTER_CONFIGID, NAME, PURPOSE, XML_DEFINITIONthe event filters of the rules below (§1.5)
C001_GROUP_FILTER_MAPPINGSID, FILTER_ID, GROUP_UUID, MAPPING_ORDERgroup assignments: Classify team rules
C001_ESUP_RULEID, LABEL, ACTIVE, FILTERsuppressions: ActionRules drop
C001_MAPPING_RULESID, LABEL, IS_ENABLED, ETI_INDICATOR, ETI_VALUE, FILTER_CONFIGURATIONS_IDETI mappings, listed with their selectors
C001_ESS_CONFIGS, C001_ESS_EXCEPTIONSID, ENABLED, UPPER_THRESHOLD, LOWER_THRESHOLD, TIME_INTERVAL_SEC; ID, ESS_ID, APPLY_ORDER, EXC_MODE, FILTER_IDStormRules; their exceptions listed with their selectors
C001_SBEC_RULE, C001_SBEC_EVTSETID, 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_SYMPTOMSID, 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_CAUSEtopology correlation, a blocker with its relations, cause and symptoms
C001_DOWNTIME_CONFIG, C001_DT_ACTIVE_STEPSID, DT_CATEGORY_ID, FILTER_ID; DT_CONFIG_ID, STEP_NAMEwhat OBM's downtimes of a category do, listed
C001_EA_SCRIPT_DEF, C001_FORWARDING_SCRIPT_DEFID, SCRIPT_NAME, ENABLED; never SCRIPTscripts, 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_REFthe 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>_data file of each template, in OBM's policy data syntax. Discover takes Open Message Interface (OPCMSG), SNMP interceptor (SNMP) and REST web service listener policies (XML or GENERIC_SOURCE, the listener path as LOGPATH): their defaults and DEFAULTMSG, 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) as name = value lines: 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 (name of a TQL query that gives the CIs routing uses, ci_types separated by ;) and downtimes.csv, OBM's recurring downtimes (name, cis and days separated by ;, timezone, start as HH:MM, duration as 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.

SetColumnsFor
teamsid, name, timezone, business_hours (time frames)teams and their slugs, Calendars
peopleid, directory_name (distinguished name or user principal name, hashed as it is read, §1.3), account, pageablerotations, the first person notified, blockers
policiesid, 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_conditionspolicy_id, field, operator (equals, not equals, in, contains, starts with, ends with, not contains, exists; others are listed), valueselectors
maintenancepolicy_id, name, days, start (HH:MM), duration (as in the spec), timezone (default the team's)DowntimeSchedules
plansid, 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_levelsplan_id, level, interval_days, members (person IDs in order), position (the member on call at starts, from 0)layers
shiftsplan_id, level, person_id, starts_at, ends_at, stand_in; those that end after the windowoverrides
groupsid, team_id, name, broadcast, rotate (members rotate on escalation), directory_syncedescalation groups: rotations
group_membersgroup_id, person_id, level, response_delay (seconds)their layers and escalation
profilesperson_id, name, time_frames (a count), media (the chain in order), timezoneblockers, the media chains, rotations
subscriptionsteam_id, person_id, min_severityteam stakeholders
cmdb_lookupsname, view, fields (the columns the lookup reads)an sql InventorySource
alertsid, external_id (the OBM event ID), policy_id, team_id, created_at, node, check, state, type; never the textusage, the shadow records
notificationsalert_id, person_id, seq, iteration, sent_at, medium; never the text or the addressthe first person notified, usage
providersid, name, kind (event-provider, rest-client, connector), external_id (whether it passes the OBM event ID)the comparison join (§2)
featureskind (schedule, conference, callout, remote-action, script, sms-transport), name, usesblockers
  • 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; msggrp as l.msg_grp; any other field, or custom:<name>, as the label of its normalised name) and their targets page (a team: the team's first drafted rotation, else its default rotation; an escalation group: its rotation) or notify (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 one equals, in or 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 hold with count within 10 min on its ActionRule, a delay a hold with for (spec-format.md §3.9); maintenance windows become DowntimeSchedules with the policies' selectors.
  • CMDB lookup. The view of cmdb_lookups whose fields include an ID or a name becomes the cis query of an sql InventorySource ea-cmdb: fields named like id, name, class, type, subtype or an assignment group take those columns, the others attr_<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 becomes daily or weekly, others a custom length in days; the members in order from position, as hashes, are the layer's people from starts at the hand-over time, and the plan times the layer's restrictions. The plan's backup option becomes a next-in-layer escalation. A planned shift becomes an override; a stand-in becomes an override created with replace, 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 all for 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 FILE name a file with the connection string, else EXCUBIO_DISCOVER_OBM, EXCUBIO_DISCOVER_OBM_MGMT and EXCUBIO_DISCOVER_EA hold 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 options encrypt=on (TLS if the server offers it) or off, trust_server_certificate=true and ca_file=PATH (the CA of the server's certificate) change that. postgres:// takes libpq's URL form. The login needs SELECT on the tables and sets read, nothing else.
  • CSV exports. --obm-csv DIR (the tables of both OBM databases) and --ea-csv DIR read 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's csv inventory 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 for ALL_EVENTS.csv. Times are RFC 3339 or YYYY-MM-DD HH:MM:SS[.fff] in UTC, as an export of a DATETIME column 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).

FromBecomes
The opcmsg policies that firedOne 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 firedA 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 firedA 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 settingsThe Sources' duplicates; without pairwise closing by ETI, no etiResetValues
The RTSM's indicatorsThe ValueMap eti-reset of the opcmsg Source
Custom attributes whose values are all flags in other spellings than true and falseThe ValueMap flag-spellings (yes, ja, 1 … to true, their negations to false), listed per attribute for a Classify rule
Storm suppressionA StormRule per node; its exceptions listed with their selectors
Missing-recurrence rulesA Heartbeat on the events of the rule's event set (else the policies of its events), groupBy node where they watch several nodes
Combination rulesA 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 ruleshold count and within on the ActionRules that paged their events
OBM's recurring downtimesDowntimeSchedules by cis
Group assignmentsClassify team rules with the selectors of their filters, in mapping order before the other team rules
Assignment groupsThe TeamMap groups; a Classify team per OBM policy whose events went to one group in 90 % of the cases, after the inventory's group
SuppressionsActionRules drop with the selectors of their filters, before the other ActionRules
Forwarding rulesA 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 queriesAn InventorySource ucmdb with their names as queries
EA policies, plans, escalation groups, maintenance windows, time frames, subscriptions and the CMDB lookupActionRules, Calendars, DowntimeSchedules, the sql InventorySource, rotations with overrides, stakeholders (§1.2)
Every draftSettings 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:

ClassMeaning
matchSame team and the same action class (page, e-mail, ticket, none)
excubio-onlyExcubio would page or ticket; the incumbent didn't
incumbent-onlyThe incumbent paged or ticketed; Excubio wouldn't
team-differsDifferent team
person-differsSame team, but the first person Excubio's shifts name is not the first person the incumbent notified
groupedThe incumbent paged n times; Excubio's grouping gives one incident
releaseExcubio 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_id where the Source's mapping sets one, and for obm-upstream its key, the OBM event ID.
  • Classes. The action classes rank page, ticket, e-mail, none. excubio-only and incumbent-only name the side whose class ranks higher where that is a page or a ticket (release instead of excubio-only when Excubio's first page came with a release decision and the incumbent's record says none); otherwise a different team is team-differs; two pages are grouped when Excubio's page attaches to a group's incident or the incumbent paged more often for the event, and person-differs when both persons are known and differ; the rest, e-mail against none included, is match. 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 for incumbent-only and 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 (page for an EA alert, e-mail where its policy only mails, ticket for a forwarded event, else none), 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 FILE sends the file to the hub (importShadow, api/hub.yaml). With --people-key-file it 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.sql shadow_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 …):

    CheckPasses when
    ShadowNo unexplained incumbent-only or person-differs cases for 14 days, or the event retention if it is shorter
    PeopleEveryone in the rotations the team's ActionRules page is reachable (on-call.md §1) and has acknowledged a test page
    CoverageThose rotations have no gap in the next 14 days
    EscalationThose rotations meet the tenant's minimums (on-call.md §2)
    ApproversThe team has an approver, so it can review changes to its own routing
    StagesNo page in the shadow window came from a stage outside routing.pageStages
    InventoryNo open data-quality issue of the team's assignment groups (pipeline.md §15)

    The rotations are those of the page actions 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 active approver binding of the team in the hub, whose IdP group the hub can't count. Stages passes without routing.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​

PhaseExcubioIncumbents
Paging firstOBM upstream intake; routing with the inventory; paging; e-mail; the paging engine's tickets; WatchOBM 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 hubDirect 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 IcingaOBM 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 by continuationToken; an alert of a script instance, by the event source it names), to set interval (the beat interval in whole minutes) and grace (the longest gap beyond the interval, at least the interval) of the drafted push checks 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:

  1. 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.
  2. For four weeks, Watch's failures are compared with the old service's alerts per sender; every difference is explained.
  3. 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).
  4. The old service's sources are disabled, and deleted after another week.