Integrations
1. Inbound channels
Each Source has one channel (spec-format.md §3.1). The default mapping of each channel can be overridden field by field.
| Channel | Transport | Mapping variables | Default key | Default role | Duplicates |
|---|---|---|---|---|---|
alertmanager | POST /ingest/alertmanager/{source}, webhook v4 JSON, bearer intake token | One alert of the group: status, startsAt, endsAt, fingerprint, generatorURL (string); labels, annotations and the group's commonLabels (map(string, string)) | fingerprint | status == "resolved" ? "resolution" : "problem" | new, new |
grafana | POST /ingest/grafana/{source}, Grafana webhook contact point | As Alertmanager, plus dashboardURL, panelURL, ruleUID (string: the alert's __alert_rule_uid__ label, else the UID in its generatorURL), orgId (int), values (map(string, double)) | ruleUID + "/" + fingerprint | as Alertmanager | new, new |
icinga | POST /ingest/icinga/{source}, JSON from the shipped notification command | host, service, state (OK, WARNING, CRITICAL, UNKNOWN, UP, DOWN), output, notification_type (string); vars (map(string, dyn)); node defaults to host, check to service | host + "!" + service | notification_type in ["PROBLEM", "RECOVERY"] ? (state in ["OK", "UP"] ? "resolution" : "problem") : "info" | new, new |
snmp | UDP 162 (snmp_listen); v1, v2c, v3 (USM) | Through TrapRules (§4) | Per trap rule | resolution with a close key for a rule's clears (spec-format.md §3.2), else problem | new, keep |
opcmsg | POST /ingest/opcmsg/{source} from excubio-msg (§2) | application, object, msg_text, msg_grp, node, severity, msg_key, service_id (string, empty when not given); options (map(string, string)) | msg_key != "" ? msg_key : node + ":" + application + ":" + object + ":" + msg_grp | severity == "normal" ? "info" : "problem" | keep, keep |
obm-rest | OBM's event web service paths, XML and JSON (§2) | The OBM event elements (§2): text elements as string (empty when not given), log_only, skip_duplicate_suppression and pattern_ignore_case as bool, node_hints and related_ci as map(string, string), related_ci_hints and source_ci_hints as list(string), custom_attribute_list as map(string, string) of name to value | key, else the ETI rule, else as opcmsg | log_only || severity == "normal" ? "info" : "problem" | keep, keep |
obm-listener | OBM Operations Connector REST listener paths, XML and JSON (§2) | The parsed body as body (dyn) | none: mapping required | "problem" | keep, keep |
obm-upstream | The hub reads an OBM instance (§3) | As obm-rest, plus the assigned group | OBM event ID | resolution when OBM closed the event, else problem | new, new |
webhook | POST /ingest/webhook/{source}, any JSON | The parsed body as body (dyn) | none: mapping required | "problem" | new, new |
email | SMTP (smtp_listen), or a mailbox read over IMAP (§13) | from, subject, body (the text part, or the HTML part as text) (string); to (list(string)); headers (map(string, string)); attachments (list(map(string, string)), name and type) | subject | "problem" | new, new |
syslog | RFC 5424 and RFC 3164 over UDP 514, TCP 514 and TLS 6514 (§13) | host, app, procid, msgid, message (string); facility, level (0–7) (int); structured (structured data, map(string, map(string, string))); truncated (bool, cut at pipeline.maxSyslogBytes) | none: mapping required | "problem" | new, new |
The key and role columns give the default mapping as CEL where it is
short; opcmsg also maps severity, title (msg_text), node and
service (service_id) by default. Variables are typed as listed, so mappings are type-checked against
them (spec-format.md §3.1); time stamps such as
startsAt are RFC 3339 strings (timestamp(startsAt) converts). The
event's occurred_at (pipeline.md §2) is, for
alertmanager and grafana, the alert's endsAt when it is resolved and
its startsAt otherwise. A dyn value is checked at run time only. In
JSON parsed to dyn, a number without fraction or exponent that fits a
signed 64-bit integer is an int, every other number a double.
The duplicates column gives the default duplicates policy as severity,
fields (spec-format.md §3.1). The OBM channels
keep the first severity and text of an alert by default, as OBM does.
Every HTTP channel also offers the request's query parameters as query
(a map of strings; a repeated parameter keeps its last value). Senders that
can configure only a URL per target, such as an Alertmanager receiver per
namespace or a Grafana contact point, pass routing hints this way
(?cluster=prod-1&service=PAYMENTS%20PROD), so one Source serves all of
them. Query parameters are never credentials
(architecture.md §11).
All HTTP channels answer 202 after the events are stored, 401 for an
unknown or revoked intake token, 413 for an oversized body and 503 with
Retry-After when the hub can't store.
Every channel the hub listens for also arrives through a relay (§15).
2. opcmsg and OBM REST compatibility
The close key matcher is verified by the close-key-patterns spike. The
arguments of installed agents and the bodies of real senders rest on the
opcmsg-compat and obm-rest-compat spikes, which need those systems
and have not run (spikes).
excubio-msg is a drop-in for opcmsg:
- It takes the arguments of the agent's
opcmsg(a=orapplication=,o=orobject=,msg_t=ormsg_text=,msg_grp=ormsg_g=,node=orn=,sev=,s=orseverity=,service_id=,-option name=value, andmsg_key=where the installed version has it) and returns its exit codes.a=,o=andmsg_t=are required; the severity is one ofunknown,normal(the default),warning,minor,major,critical. Scripts and monitoring that callopcmsgswitch by a symlink orPATH. - It reads the hub URL (the intake listener), the Source and the intake
token from
/etc/excubio/msg.toml(url,source,token;EXCUBIO_MSG_CONFIGnames another file), each replaced by itsEXCUBIO_MSG_*variable (EXCUBIO_MSG_URLand so on), gives each message a message ID (UUIDv7) and posts it toingestOpcmsgwith the token as bearer, over TLS with the host's trust store and the certificates ofca_file. When the hub is unreachable (no connection withintimeout_seconds, default 10, or408,429,5xx), it keeps the message in a local spool directory (spool_dir, default/var/spool/excubio-msg, one file per message, bounded byspool_max, default 10,000 messages) and sends it later, oldest first, before the next message or withexcubio-msg --flush, with the same message ID and itsspooled_attime, so resends are removed as copies and old messages are marked stale (pipeline.md §2). A message the hub refuses (any other4xx) is neither sent nor spooled; a spooled one it refuses is dropped from the spool. The package makesmsg.toml(0640) and the spool directory (2770) the groupexcubio-msg's; the users that send are its members. - On an OBM agent,
opcmsgoutput passes through an opcmsg policy, which sets the key, close key pattern, custom attributes, ETI and log-only flag.excubio-msgsends the raw fields; the policy's logic becomes the Source's mapping, which Discover drafts from the policy (migration.md §1).
Operations Connector REST listeners. Most HTTP senders of an OBM
installation don't call OBM's event web service: they post to REST web
service listener policies of an Operations Connector (OpsCx, BSM
Connector), at /bsmc/rest/events/<path>, with a body the policy parses
(Alertmanager JSON, own XML, the JSON of an opcmsg REST wrapper). The
obm-listener channel serves these paths, so such senders change only
host, port and credentials:
POST /bsmc/rest/events/{path}is routed to the Source whoselistenerPathis{path}. HTTP basic authentication with the Source name as user and the intake token as password, as forobm-rest.- XML bodies are parsed to
bodywith a fixed convention: an element becomes a key (namespace prefixes removed), its attributes@name, its text#textwhen it also has attributes or children, repeated elements an array. JSON bodies are parsed as they are. - The listener policy's rules become the Source's mapping; Discover drafts it from the exported policy (migration.md §1).
OBM REST compatibility. The hub serves the event submission of OBM's event web service, so REST wrappers and tools that post OBM events only change the base URL and credentials:
POST /opr-web/rest/{version}/event_list(also under/opr-web/ws/) for the versions9.10,10.0,10.10and10.11, in OBM's XML (namespacehttp://www.hp.com/2009/software/opr/data_model) or JSON. Version9.0and requests without a version get415, as from OBM. The answer is202with the created events and their IDs, in OBM's format.PUT /opr-web/rest/{version}/event_list/{id}withstate = closedcloses the alert of that event, for clients that close what they created. No other query or update operation is served.- Clients that first fetch OBM's
secureModifyTokencookie and send it asX-Secure-Modify-Tokenget the same from the hub; the token is not a credential.
The table gives the rules of obm-rest for each event field a Source
doesn't map itself; an event without id gets one from the hub, which
the answer carries.
| OBM element | Event field |
|---|---|
title, description, severity | the same; OBM's normal is a severity, not a resolution |
key, close_key_pattern | key, closeKey in OBM's pattern syntax |
node_hints (dns_name, ip_address, core_id, hint) | node: dns_name, else hint, else ip_address |
related_ci_hints, source_ci_hints | ci; label source_ci |
related_ci/sub_component | label subcomponent |
eti_hint (indicator:value) | the ETI rule below |
custom_attribute_list/custom_attribute{name,value} | labels, names normalised (spec-format.md §3.1) |
category, sub_category, application, object, priority, solution, drilldown_url | labels of the same names (sub_category as subcategory) |
time_created | occurred_at |
log_only | role info |
skip_duplicate_suppression | the event ID is appended to the key, so each event opens its own alert |
id | copy hash (pipeline.md §6) and the alert's source ID |
original_data | kept in the raw payload only |
-
Close key patterns from the OBM channels use OBM's syntax (
closeKeySyntax = "obm", the default of these channels), evaluated by a matcher that reproduces OBM 24.2's results, checked against OBM's own matcher classes (close-key-patterns spike):Pattern Matches <*>any characters, also none <#>one or more ASCII digits <@>one or more characters other than separators <_>one or more separators (space and tab) </>one or more line breaks (LF, CR) <3*>,<3#>,<3_>,<3/>exactly that many of them; <0*>the empty string[a|b]one of the alternatives <[a|b].name>the same; the name is required <![a|b]>,<![a|b].name>OBM's negation, not a complement: it fails where the enclosed pattern occurs in the rest of the key and needs a character when it ends the pattern ( ^<![a]>$matchesbandbb, notba)<*.name>,<@.name>,<3#.name>as without the name; the name is ignored a|boutside bracketsalternatives of the whole pattern \+ charactersthe characters of the escaped token, literally: \tmatchest,\101matches101,\<matches<- Anchors. A pattern matches anywhere in the key unless its first
character is
^or its last is$, unlike Excubio's own syntax. The anchors are taken from the raw text before parsing, so a final\$anchors too (^a\$matchesa), and they apply to every top-level alternative (^a|b$is^[a|b]$). The empty pattern matches every key. - Characters. Keys and patterns are compared as UTF-16 code units
(
<1*>doesn't match an emoji,<2*>does), CR LF is one character for every construct, and only the first 1,024 code units of a key are compared. - Tails and invalid patterns. At the top level the parser stops at
the first token that can't continue the pattern and ignores the rest:
a>bisa, and>matches every key. Inside brackets such a token makes the pattern invalid, as do<n@>,<[…]>without a name,<!…>without brackets, a count above 2^31,<*.>,^alone and an unterminated construct. An invalid pattern, or one on which OBM's matcher fails at run time (^<![<*>]>$), closes nothing. - Search. The matcher follows OBM's search, including its misses and
extra matches: a match that starts right after a failed partial match
isn't found (
aabdoesn't matchaaab,web01:OSdoesn't matchwweb01:OS:cpu), skipping a character can accept a key that doesn't match (^[a|b]$matchesab), and^$,a|<*>and<*><2*>xmatch every key. Anchored patterns of policy-shaped keys (^web01:OS:<*>,^web01:<*>:cpu$) give the expected result; the misses hit unanchored ones. - Simple patterns. A pattern that starts with
^and contains no|and no unescaped<other than in<*is evaluated as OBM evaluates it, as SQL LIKE (<*>as%): exactly, without the misses of the search, and with[…]and<*.name>as literal text. - Case. The event's
pattern_ignore_casemaps tocloseKeyIgnoreCase: key and pattern are upper-cased, then lower-cased, with Java's full case mappings, sostraßeequalsSTRASSEand^<1*>$doesn't matchß(it becomesss). - Reach. OBM matches the pattern against the key alone and closes
the earlier events that aren't closed, whatever their source, node or
policy. Excubio closes within the namespace
(pipeline.md §1), so the OBM-channel Sources
of one OBM installation share one
keyNamespaceto keep that reach.
- Anchors. A pattern matches anywhere in the key unless its first
character is
-
ETI events. An event with an
eti_hintand nokeygets the key CI (or node) +/+ subcomponent, where the event has one, +/+ indicator, so the subcomponents of a CI (the disks of a host) are separate alerts. Its role isresolutionwhen the value is the indicator's reset value in the Source'setiResetValuesValueMap, whose canonical values are the reset values and whose variants the indicators (Discover generates it from the indicators in the RTSM), elseproblem; its duplicates always take the new severity and fields, so a new value replaces the old one, as OBM closes the event of the old value. An indicator without a reset value gets the value appended to the key: OBM keeps one event per value of such an indicator. -
Title placeholders
${node.label}and${relatedCi.label}are replaced withnodeandci.
3. OBM upstream
The hub works as an OBM event consumer, the way an OBM-connected paging
engine does. The reading rules follow OBM's event web service
(OprEventsResource of the 2021.05 hotfix, the database path of the
2020.10 IP1 hotfix) and a simulator of it
(spike obm-upstream):
- It polls OBM's event list (
GET /opr-web/rest/10.11/event_list) withinclude_closed = true,order_by = time_changedandorder_direction = ascending(without it OBM sortstime_*fields descending), filtered by a configurable OBM view (view_filter) or event filter (event_filter, by name or ID, one OBM can evaluate in its database, for exampleNotifyUser = true). OBM returns the events whosetime_changedis strictly afterwatermark, ties ordered by sequence number. - Watermark. The reader keeps the largest
time_changedread, in OBM's time, per upstream in the hub database, stored in the transaction of each page's events. A poll starts at the watermark minus the Source'soverlap(2 minutes by default, spec-format.md §3.1). Each further page starts at the lasttime_changedof the previous page minus 1 ms, always atstart_index1 with the Source'spageSize(500 by default), so events sharing atime_changedare read again rather than skipped. A page whose events all have onetime_changedis requested again with twice the page size, up to OBM's 10,200. Largerstart_indexvalues are not used: OBM pages by offset, and an event that changes while the reader pages, including by Excubio's own write-back, moves to the end and makes the reader skip another. The overlap covers changes that become visible after later ones: OBM stampstime_changedbefore the commit, with the clock of whichever OBM server writes. Events read again have the same OBM ID and change time and are copies (pipeline.md §6). - Reconciliation. Every 15 minutes the reader lists OBM's active
events (no watermark,
include_closed = false), passes on active events it has not read, and fetches each event whose alert is open but that is no longer active (GET event_list/{id}). This catches changes that became visible later than the overlap. An event OBM no longer has (404) resolves its alert. - OBM's event change feed (
event_change_list) is not used: it takes no view or event filter, it lists history lines (changed attributes), not events with their custom attributes, and OBM writes no history line for duplicate-count changes. - It writes back as annotations on the OBM event ("paged
perimeter/primary", "acknowledged by …", "ticket SM-…", "incident
resolved",
POST …/annotation_list) and sets the custom attributeExcubioIncidentto the incident ID (POST …/custom_attribute_list, which also overwrites) only when the event doesn't carry that value. Each write sends OBM's secure modify token, taken from thesecureModifyTokencookie of the reader's latest GET, asX-Secure-Modify-Token; after a 403 (the token is gone after an OBM restart) the reader does a GET and retries once. - Each write changes the event's
time_changed, so the event is read again. A version that differs from the alert's last OBM event only in annotations,ExcubioIncidentandtime_changedis dropped. - OBM closing the event resolves the alert.
- OBM's own storm events (keys starting
OMiEventStorm:) arrive as ordinary events; the drafted spec routes them to the platform team. - The OBM user needs read access to the events and annotation rights.
4. SNMP
- The receiver decodes v1, v2c and v3 traps. v3 uses USM users, configured on the Source with Secret references, with authentication HMAC-SHA-1 or HMAC-SHA-224, -256, -384 or -512 (RFC 7860) and privacy AES-128 (RFC 3826) or AES-192 or AES-256 with the Blumenthal key extension, or Reeder's (Cisco's) as the user's setting. MD5 and DES are not supported.
- Engines. For a trap the sender is the authoritative engine. The receiver localizes the user's keys to the engine ID in each trap and caches them per engine ID, so devices need no engine ID configuration; a user can list the engine IDs it accepts (by default any). The RFC 3414 time window applies per sender engine: from the boots and time of its latest authenticated trap, a trap with lower boots or a time more than 150 s behind is rejected. The first trap of an engine is accepted; copy detection removes a replay of it (pipeline.md §6). The engine table is bounded, least recently used first out.
- Informs. v2c informs are answered with a Response and processed as traps. v3 informs are not supported, because the hub is not an authoritative engine: devices send v3 traps instead.
- Encoding. A value its type doesn't allow (a Counter64 in a v1 trap, an unsigned value without its leading zero, an IpAddress not of 4 octets, NsapAddress, UInteger32, an unknown tag) is kept, decoded as net-snmp decodes it or as hex, and flagged on the varbind; it doesn't reject the trap.
- Trap packs are signed bundles (operations.md §5)
with the MIB tables compiled (
mibs.json, operations.md §5), and rules with OID match, severity, key, clears and title. Packs exist for common enterprise devices (Cisco UCS, Check Point, NetApp ONTAP, Infoblox, VMware vCenter, Citrix NetScaler, CyberArk, generic IF-MIB link up/down). Customers build their own packs from MIB files withexcubioctl trap-pack build. - A trap goes to the first
snmpSource in name order whose community or USM user it carries and whoseallowFrom, where set, contains the agent; a trap that fits none, or whose credentials fail (an unknown community or user, a wrong digest, outside the time window), is rejected and counted. A USM user withoutauthsends without authentication, like a community. - The rules of the Source's TrapRules apply in the order of its
trapRules, each TrapRule's own rules before its pack's; the first rule whosetrapOidmatches maps the trap: itsseverity, itskey(the variables' values joined as in pipeline.md §1), itstitle(else the key) and, withclears, the resolution role and close key. The event'snodeis the agent and itscheckthe rule's name. - A trap that no rule matches opens an alert of severity
unknownwith key agent + trap OID, so nothing is lost; a Source can setunmatched = "drop"instead, which stores it asinfoand counts it (excubio_snmp_unmatched_total). - Variables of a rule's
keyandtitle:agent(sender address),trapOid,varbind:<name>by MIB name orvarbind:<oid>; a varbind OID also finds the first varbind under it (a table column finds its instance), and a missing varbind is empty. - The raw payload is the trap as decoded:
agent,trapOid,version,uptime, the varbinds with OID, type, value and the flag of Encoding, and a v1 trap'sagentAddr, a v3 trap'suserandengineId; the community is not kept. The same trap received by two nodes is one event and a copy (pipeline.md §6).
5. ITSM
At most one ticket per alert (several alerts per ticket with the profile's groupBy), created by a ticket action with a TicketProfile
(spec-format.md §3.12).
| Adapter | Create | Update and close | Ticket closed upstream |
|---|---|---|---|
sm9 | SM9 REST API, incident resource: POST <baseUrl>/incidents with {"Incident": {…}} (Title, Description, Service, AssignmentGroup, AffectedCI, Impact, Urgency and the profile's fields by name), Basic credentials; the answer's Incident.IncidentID is stored | Activity update (PUT <baseUrl>/incidents/<id>, JournalUpdates); resolve (POST <baseUrl>/incidents/<id>/action/resolve) with the profile's closureCode | Polled every 5 min for open tickets (GET <baseUrl>/incidents/<id>, Status closed or resolved) |
webhook | Signed POST; the response's ticketId is stored | Signed POST per change | POST /api/v1/tickets/{id}/closed on the hub |
The webhook adapter POSTs to baseUrl a JSON body {"id", "type", "ticket", "fields" | "text"}: type ticket.create (with fields:
title, description, service, assignment_group, affected_ci,
impact, urgency and fields; the answer names the ticket as
ticketId), ticket.update (an activity: an alert joined, changed,
reopened or closed, or all of the ticket's alerts closed with
onAlertClose = "annotate") or ticket.resolve, signed as webhooks are
(§8) with the profile's credentials, an opaque Secret;
id is the idempotency key of the run's message, for deduplication. The
sm9 adapter's credentials are a basic-auth Secret.
sm9 has no key it drops a repeated create by, so a create whose answer
is lost (the 10 s request bound passed, the connection broke, the node
died) is not simply sent again. The run records the create's idempotency
key on the ticket before the POST; an answer with an error status
clears it (no incident was made). With the profile's keyField the
create sets that incident field to the key, and the next attempt first
looks it up with GET <baseUrl>/incidents?<keyField>=<key>: an incident
in the answer's content is the ticket, none lets the create go out
again with the same key. Without keyField the next attempt fails the
ticket and its run and raises the self-alert action-failing, which says
to look for the incident in sm9; the group's other runs then open a
ticket of their own.
A ticket run creates the ticket, or joins the open ticket of its group
(an activity on it), and records its ID on the alert (ticket_ref) by a
command to the alert's owner. The group's other runs wait while its
ticket is created; when the creating run has ended without the ticket
(it failed, or its alert was forgotten), the next of them takes the
create over and sends it with the first create's key. Once the ticket's last alert has closed,
onAlertClose applies and the ticket is resolved or released. A ticket
closed upstream ends its runs; with onTicketClose = "close-alert" its
open alerts get close commands of origin itsm (close reason ticket).
ServiceNow incidents use the webhook adapter. A Scripted REST API in
the instance checks the Excubio-Signature header
(§8), creates the incident record from the body (the
profile's service, assignmentGroup, affectedCi, priority and
fields map to business_service, assignment_group, cmdb_ci,
impact, urgency and further columns) and returns its sys_id as
ticketId; later POSTs add work notes or resolve it. A business rule on
incident calls the hub's tickets/{id}/closed with an API token of
the scope tickets when the incident is resolved or closed. The
instance's REST API and business rule are the customer's; Excubio
documents a template of both.
The sm9 adapter rests on the sm9-tickets spike, which needs an SM9
instance and has not run (spikes).
6. Write-back
| Channel | Write-back |
|---|---|
obm-upstream | Annotations and the ExcubioIncident attribute (§3). |
icinga | Acknowledge the problem through the Icinga 2 API with the acknowledging person as author; remove the ack on an un-ack, or when the alert closes other than by a clear of its Source. |
alertmanager | None. |
opcmsg, obm-rest, obm-listener, snmp, grafana, webhook | None; use a Webhook. |
A Source writes back with apiUrl and credentials (a basic-auth
Secret of an Icinga API user, spec-format.md §3.1).
The Icinga object is the alert's node (the host) and check (the
service; without one, the host), named through filter_vars of
POST <apiUrl>/v1/actions/acknowledge-problem and
/v1/actions/remove-acknowledgement; a 404 (nothing to acknowledge)
is no error, nor is a per-object 409 saying the object is acknowledged
already or in an OK (UP) state: an earlier attempt whose answer was lost,
or a recovery meanwhile. Icinga answers the per-object code as the
request's status when all objects share it, else 500; the run reads the
results, and another 409 or error retries. A writeback action of an alert whose Source doesn't write
back starts no run; its decision's trace says so, and L1 warns about a
writeback action in a spec without such a Source.
The icinga write-back rests on the icinga-ack spike, which needs an
Icinga 2 instance and has not run (spikes).
7. E-mail
- SMTP to the customer's relay (Settings
notify), STARTTLS by default, AUTH PLAIN with abasic-authSecret; one message per connection, delivered within 20 s and within its task's deadline (four fifths of the task's 30 s lease, architecture.md §4). A task starts a further message only while that leaves the message its full 20 s, else the next claim sends it, so the deadline doesn't cut a message off while the relay accepts it. - Built-in templates in German and English; one e-mail per alert change for
immediate, one per recipient and interval fordigest, grouped by team, service and severity, with links to the hub UI. Times are shown in Settingsrouting.timezone. A subject begins with[Excubio], an e-mail to the shadow mailbox's with[Excubio shadow](migration.md §2). - A team recipient resolves to the team's mail address from the cloud replica (team updates of the link and the replica load) at send time; a team without one gets nothing, and the run records why.
- A digest's interval starts with the recipient's first e-mail since its
last digest (
schema/hub.sqlnotify_mail, timer kinddigest).
8. Webhooks
Signed POSTs for the event types a Webhook subscribes to: alert.opened,
alert.changed, alert.closed, incident.triggered,
incident.acknowledged, incident.unacknowledged, incident.escalated,
incident.reassigned, incident.invited, incident.unanswered,
incident.merged, incident.resolved, group.opened, group.changed
(members or cause), group.closed, ticket.created, and the on-call events
shift.started, shift.ended and oncall.changed (the person on call of a
rotation changed), which the hub raises from its shift replica at their
times.
- Which alerts and incidents.
alert.*,group.*andticket.createdare sent only for alerts whose decision has awebhookaction naming the Webhook (pipeline.md §10); the action decides which alerts,eventswhich of their events.incident.*,shift.*andoncall.changedneed no action: they are sent for the rotations of the Webhook's owner team, except for test incidents (on-call.md §8). - The body is
{"id", "type", "data"}: the event ID, its type, and the alert as in the hub API (Alert), the incident as the hub replicates it, or the shift with team, rotation, person name and times (oncall.changed: the new and the previous person's name), never contact data. A webhook run that starts at a later decision than the alert's open sendsalert.changed(oralert.closed) first.ticket.createdis sent when the alert gets its ticket, created or joined withgroupBy.incident.*follow the incident's updates on the link (an update that changes nothing named raises none);shift.*andoncall.changedare raised at their times, and a node that was down longer than 10 min leaves out what it missed. - The header
Excubio-Signature: t=<unix time>,v1=<hex HMAC-SHA256 of "<t>.<body>">signs it with the Webhook's key. - With
format = "teams"the body is an adaptive card for a Teams channel's workflow URL, so a team channel shows alerts and incidents; such a Webhook is not signed (spec-format.md §3.13). - With
format = "slack"the body is a message for an incoming webhook of Slack or of a chat that takes the same body, such as Mattermost, and is not signed either:text, the event in one line (`Alert opened: - With
format = "pushover"the body is a message for Pushover's API (https://api.pushover.net/1/messages.json, JSON), unsigned:tokenanduserfrom the Webhook's Secret,title(the event in one line as forslack, at most 250 characters),message(the description, then one line each of Severity, State, Team, Service, CI, Node, Rotation and Ticket where set, plain text, at most 1024 characters; the title line when all are empty),urlandurl_title(Alert in Excubio: the alert in the hub UI, for alert, group and ticket events when the node knows[server] public_url),priority, withretryandexpireat 2, andsoundwhen set (spec-format.md §3.13). The default priority is 1 forcritical, 0 for other severities and events without one, -1 for events of closed, resolved or acknowledged alerts, groups and incidents; 2 only as the Webhook sets it. A failed request is tried again no sooner than 5 s later, as Pushover asks. - A digest of a
slackWebhook with modedigest(pipeline.md §10) is one message:textExcubio digest: <n> open, and one attachment per team, service and severity (Team ops · Service billing · critical (2)astitleandfallback,colorby severity), the most severe first, whosetextlists its alerts oldest first, one line each: the title linked to the alert in the hub UI when the node knows[server] public_url, how long it has been open (45m,3h 5m,2d 4h) andacknowledgedfor an acknowledged one. It lists at most 50 alerts, the most severe and oldest; a last attachment saysand <n> more. Text is escaped as for single messages. Ateamsdigest is an adaptive card with the same heading, groups and lines, the links in Markdown. - A
teams,slackorpushoverWebhook informs a chat or a phone; it is not a page: nothing comes back from it, and an emergency acknowledged in Pushover acknowledges nothing in Excubio. - Delivery is at least once, with the event ID for deduplication.
9. Carriers
The cloud uses CPaaS carriers with EU data processing for:
| Need | Capability |
|---|---|
| Outbound SMS | A2P SMS, delivery receipts, numeric senders in the recipients' countries (which number is used: on-call.md §4) |
| Inbound SMS | Replies to the sender number, with the carrier's message ID |
| Outbound voice | Programmable calls, text to speech (German, English), DTMF |
| Push | APNs (HTTP/2, token authentication, apns-priority: 10; critical alerts or time-sensitive interruption level) and FCM HTTP v1 (high-priority data messages); the vendor's app identity |
| SMTP submission at a mail provider in the EU, for the cloud's e-mail notices (on-call.md §4, operations.md §3) |
At least two carriers per medium are active for SMS and voice; push has one
service per platform, and SMS or voice follows it in every chain
(on-call.md §4). Watch has its own account at a
third carrier. Which carriers the cloud uses is part of its
configuration; which numbers a tenant has at them, vendor operators set
with the tenant (on-call.md §4). The carriers,
the mail provider and their locations are listed in the subcontractor
list (compliance.md §4). Carrier selection
rests on the carriers spike, which needs carrier accounts and has not
run (spikes).
A carrier's callbacks (inbound SMS, delivery receipts, call events) reach
its adapter whole: method, URL, headers and body. The adapter checks the
carrier's signature over the parts the carrier signs, and, for a carrier
that signs the time of a callback, gives that time: the cloud refuses
(401 carrier.signature_invalid) a callback signed more than 5 minutes
before or after the database's clock, so a captured callback can't be
replayed later. Within those minutes a repeat is recognised by the
carrier's event ID, which the cloud keeps for 7 days
(on-call.md §4). For a carrier that signs no
time the event ID alone recognises a repeat, for those 7 days.
10. Identity
- Cloud and Watch: one Zitadel organization per tenant; the customer's
IdP federates in Zitadel. Teams from the
groupsclaim. - Hub: any OIDC issuer (usually the customer's Entra ID directly), with
roles bound to groups from the configured group claim (
[auth] groups_claim, operations.md §2). A local break-glass admin exists for setup and recovery (architecture.md §11). - Entra ID. Two setups are supported: the
groupsclaim limited to the groups assigned to the application (group membership claims "Groups assigned to the application"), or app roles assigned to groups withgroups_claim = "roles". A token that signals group overage (thegroupsclaim replaced by_claim_namesorhasgroups) is refused: the login fails withauth.groups_overageand a message that names the supported setups. The hub never queries Microsoft Graph for groups. - Service accounts use API tokens (
exk_…). In the cloud a service-account token has no roles of its own and acts only through its scopes; withincidentsit reads and responds to the incidents of its teams (api/cloud.yamlconventions). On the hub a service account holds roles through bindings, and its tokens act with a subset of them (api/hub.yaml). Prometheus scrapes the hub's/metricswith a service account's token of scopemetrics, which can call nothing else (architecture.md §10).
11. Metrics
Prometheus /metrics on every part, with alerting rule templates over
the series below in packaging/prometheus. The cloud and Watch serve
theirs on a listener of its own (EXCUBIO_METRICS_LISTEN, by default on
loopback), which only the installation's monitoring reaches and which
serves nothing else. The hub's is on the management listener, for a
token of scope metrics or a viewer (§10); with
[server] metrics_listen
(operations.md §2) it is on a listener
of that kind instead, in plain HTTP without credentials, and the
management listener serves none. A managed installation sets
it, as its management listener is on the internet; an installer sets it where the
management listener is reachable by more than the hub's users, and
admits only the monitoring to the metrics listener.
On a managed installation, a series of one hub's work (its
intake, Sources, its slices of the steps and of its correlator, alerts,
action tasks, relays, inventory, link) is that hub's:
its /metrics on its own host, for its viewer or a token of scope
metrics of that hub, serves its series and no other hub's, and the
installation's /metrics (metrics_listen, the vendor's monitoring)
leaves them out. The installation's carries its own series (the
partitions' lag, the nodes, relay connections, refusals before a hub is
known) and, per hub not being deleted, only the bounded set below with
the label hub (the hub's id): 8 series a hub, so 8,000 for an
installation of 1,000 hubs, each computed for all hubs at once. A
hub's link counts as up (excubio_cloud_link_up,
excubio_hub_cloud_link_up) while its stream is recorded open and a
node holds the lock of its link shard. A standalone installation
serves its hub's series with the installation's, without the label, as
above. The main series:
| Series | Part |
|---|---|
excubio_events_received_total{source,channel,result}: result is accepted, refused (unknown Source or credential, or a sender outside allowFrom; source empty where no Source was found), invalid, limited (over pipeline.sourceRate, or datagrams over the hub's limits) or unavailable | hub |
excubio_events_refused_total{reason}: events refused for a limit, reason hub_rate, daily_quota or source_rate (pipeline.md §2) | hub |
excubio_egress_waits_total: connections that found no place within a hub's connection caps (architecture.md §11 Egress) | hub |
excubio_connections_refused_total{channel}: connections over pipeline.maxConnections | hub |
excubio_event_outcomes_total{source,outcome} | hub |
excubio_rule_matches_total{kind,rule} | hub |
excubio_snmp_spool_bytes, excubio_snmp_spool_dropped_total | hub |
excubio_syslog_unmatched_total{source}, excubio_snmp_unmatched_total{source} | hub |
excubio_mailbox_messages_total{source,folder} (folder is processed or failed), excubio_mailbox_reading{source} (1 on the node that reads the Source's mailbox while it has a session, §13) | hub |
excubio_alerts_opened_total{kind,team}, excubio_alerts_open{team,severity} | hub |
excubio_alerts_suppressed_total{reason} | hub |
excubio_decisions_total{team,outcome}: outcome is page, ticket, notify, drop, none, suppressed, shadow or unrouted | hub |
excubio_downtimes_active{origin} (person, automation, schedule, source, inventory) | hub |
excubio_pipeline_lag_seconds{partition} | hub |
excubio_tasks_pending{type}, excubio_task_failures_total{type} | hub |
excubio_routing_unrouted_total, excubio_mapping_errors_total{source} | hub |
excubio_close_key_errors_total{source}: close key patterns that don't compile or exceed the limit and close nothing (§2) | hub |
excubio_heartbeat_up{name}, excubio_heartbeat_beats_without_instance_total{heartbeat} (beats without every groupBy attribute, pipeline.md §5) | hub |
excubio_inventory_snapshot_age_seconds, excubio_inventory_import_age_seconds{source}, excubio_inventory_records{source,kind}, excubio_inventory_ambiguous{source}, excubio_inventory_import_failures_total{source} | hub |
excubio_groups_opened_total{pattern}, excubio_groups_open{pattern}, excubio_group_members_total{pattern,role,members} | hub |
excubio_correlator_lag_seconds, excubio_correlator_inbox | hub |
excubio_expectations_missed_total{rule} | hub |
excubio_cloud_link_up, excubio_fallback_pages_total, excubio_link_unknown_updates_total{type}, excubio_link_ignored_updates_total{type} (a type the hub doesn't replicate, or the deletion of an incident, delivery, response or person), excubio_link_skipped_updates_total{type} (an update the hub can't apply) | hub |
excubio_self_alerts_total{kind}: the installation's for the kinds of its conditions (pipeline.md §19: unowned locks, failing slices, its channel and provisioning, the OIDC issuer, a node's), whichever hub's work raises them, else the hub's | hub |
excubio_snapshot_cache_bytes (the inventory snapshots the node holds for its steps, architecture.md §4 Activation), excubio_snapshot_cache_budget_bytes (its [server] snapshot_cache, which the first stays within): the installation's | hub |
excubio_relays_connected (relays with a control connection to the node), excubio_relay_spool_bytes{relay}, excubio_relay_spool_dropped_total{relay} (as the relay last reported them, from its first heartbeat), excubio_relay_datagrams_total{result} (stored or duplicate), excubio_relay_streams_total{kind,result} (kind is target or tcp; result accepted, refused by the relay, timeout or none: no relay admitted the target); those without relay at 0 from the relay listener's start | hub |
excubio_relay_connected{node} (1 while the control connection to the node is up), excubio_relay_spool_bytes, excubio_relay_spool_datagrams, excubio_relay_spool_dropped_total, excubio_relay_received_total{listener}, excubio_relay_streams_total{kind,result} (target: accepted or the reason of a refusal; tcp: accepted or no-hub) ; each at 0 from the start, received_total for each configured listener | relay |
excubio_hub_events_received_total{hub,result} (excubio_events_received_total of the hub summed over Sources and channels), excubio_hub_pipeline_lag_seconds{hub} (the highest lag of the hub's partitions), excubio_hub_tasks_pending{hub} (its action tasks not finished), excubio_hub_cloud_link_up{hub}: the installation's per hub | hub |
excubio_hub_update_required_total | cloud |
excubio_incidents_total{tenant,team} (not synthetic incidents), excubio_incident_ack_seconds (histogram, from trigger to the first ack; an incident resolved without an ack has none), excubio_incidents_unanswered_total{tenant,team}, excubio_levels_skipped_total (escalation levels that reached nobody, on-call.md §7) | cloud |
excubio_deliveries_total{kind,medium,carrier,status}: kind is page (an attempt of a chain step), notice (verification codes, tests, replies and the other notices of on-call.md §4) or synthetic (a synthetic incident's SMS, on-call.md §6); medium is push, sms, voice or, for a notice, email; carrier is empty until a carrier has the message | cloud |
excubio_outbox_queued (queued messages no sender holds, as far as one sender's batch reaches), excubio_send_errors_total, excubio_chain_step_failures_total | cloud |
excubio_http_requests_total{route,status}, excubio_internal_errors_total (answers 500 service.error), excubio_link_connections_refused_total{reason}, excubio_carrier_callbacks_refused_total{carrier} | cloud |
excubio_link_connections (the replica's open link connections with a client certificate), excubio_link_connections_max (its link.max_connections, operations.md §3); replica loads refused for link.replica_loads are excubio_http_requests_total{route="/link/v1/replica",status="503"} | cloud |
excubio_installation_seen_age_seconds{installation} (seconds since an enrolled installation last called the installation channel, recorded at most every 30 s; 0 for one not enrolled or deleted), excubio_installation_hubs{installation,state} (the hubs placed on it: provisioning before its first report, provisioned, failed, deleting until it reports the deletion; operations.md §4), set with each readiness check | cloud |
excubio_trial_refusals_total{reason}: messages of tenants in trial not sent through a carrier, reason trial.no_voice, trial.unverified, trial.country or trial.sms_cap (on-call.md §4) | cloud |
excubio_tenant_keys_failing (tenants whose data key the deployment key doesn't unwrap), excubio_tenant_budget_reached_total{tenant} (a tenant's people reached their daily budget of codes and test messages, on-call.md §1) | cloud |
excubio_controller_shards_held (the controller shards this replica holds, architecture.md §8) | cloud |
excubio_audit_sink_entries_total, excubio_audit_sink_failures_total (batches the tenants' audit sinks didn't take, compliance.md §3.1) | cloud |
excubio_carrier_healthy{medium,carrier,country} (push: apns, fcm, country *) | cloud |
excubio_push_receipt_seconds{carrier} (histogram, request sent to device receipt) | cloud |
excubio_watch_pushes_total{kind,outcome} (kind is tenant, hub or rotations; outcome sent or failed), excubio_watch_pushes_queued (pushes due, as far as one batch reaches) | cloud |
excubio_watch_evaluator (1 on the node that holds the evaluation lock), excubio_watch_passes_total, excubio_watch_pass_seconds (histogram), excubio_watch_gaps_total, excubio_watch_checks_failed (failed or held at the newest pass) | watch |
excubio_watch_beats_total{type} (push, fail, reverse, hub), excubio_watch_check_events_total{type}, excubio_watch_synthetic_receipts_total | watch |
excubio_watch_notifications_total{medium,outcome}, excubio_watch_vendor_pages_total{cause}, excubio_watch_cloud_removals_refused_total; excubio_http_requests_total{route,status}, excubio_internal_errors_total and excubio_tenant_keys_failing as the cloud's | watch |
12. Reporting views
The hub exposes versioned SQL views in the schema reporting_v1
(schema/hub.sql §9). Grafana and BI tools read these
views with logins of the read-only role excubio_reporting over TLS, never
the internal tables (operations.md §1);
a login sees the rows of the hub its reporting_login row names, and
nothing without one (architecture.md §12). Incidents,
deliveries, responses and shifts are synced from the cloud over the link, so
the views join alerts with their paging: for the rotations on the hub's
allowlist, from 30 days before the hub last loaded the replica
(architecture.md §5), for as long as
the hub keeps them (compliance.md §2). The
full record of incidents and shifts is the cloud's, with its own export
(api/cloud.yaml exportData).
A new major version of the views gets a new schema (reporting_v2); the
old one is kept for 12 months.
13. E-mail and syslog intake
The behaviour towards real relays, mailboxes and devices rests on the
email-syslog-intake spike, which has not run
(spikes).
E-mail. Senders that can only send mail (backup software, appliances, scripts, other paging tools' mail integrations) send to a Source's address.
- SMTP: the SMTP listener (
smtp_listen, port 25 or 587, operations.md §2) accepts mail with STARTTLS for the addresses of theemailSources (recipients = ["backup-alerts@excubio.example.invalid"], compared without case), only from the Source'sallowFromaddresses, which are required: usually the customer's mail relay, which routes the domain to the hub. It neither authenticates nor relays:RCPT TOan address of no Source gets550 5.1.1, from a sender outside the Source'sallowFrom550 5.7.1. A message is accepted with250after it is stored, refused with452while the hub can't store or the Source is overpipeline.sourceRate, so the relay retries, and with552abovepipeline.maxEventBytes(announced asSIZE). A message to the addresses of several Sources is one event of each. On a managed installation, a recipient's domain chooses its hub (its mail domain, operations.md §2); a domain of no hub gets550 5.1.1, as does a sender outside a Source'sallowFrom, so a hub's addresses can't be found by trying them; a transaction delivers to one hub: a recipient of another hub than the transaction's first gets452 4.5.3, and the relay sends to it in a transaction of its own (architecture.md §11 Front door). - IMAP: a Source with
imapreads a mailbox, for mail that can't be routed to the hub (fields: spec-format.md §3.1). The hub connects tohostwith implicit TLS (port 993) or with STARTTLS (port 143), never in the clear, through the egress rules and with TLS verified like every outbound connection (architecture.md §11), logs in with thebasic-authSecret (LOGIN), creates the foldersprocessedandfailedwhen they are missing and selectsmailbox.- One reader. A node reads a mailbox while it holds the Source's
reader lock (class 11,
architecture.md §4) on its
lock connection, so one node of the hub reads it; a node without a
deployment key reads none. A changed
imaptable, or the Source leaving the spec, ends the reader; the next one starts with the revision active then. - A round takes the oldest of the messages not flagged
\Deleted(UID SEARCH UNDELETED), at most 20 and, after the first, at most 8 MiB together by theirRFC822.SIZE. A message abovepipeline.maxEventBytesgoes tofailedwithout being fetched; the others are fetched (BODY.PEEK[], so\Seenstays as it was), parsed and stored as events of the Source in one transaction, mapped by the revision active then. After the commit a message moves toprocessed, or tofailedwhen it isn't an RFC 5322 message or its event has outcomemapping-error. WithMOVE(RFC 6851) the hub moves, else it copies, flags\Deletedand expunges (UID EXPUNGEwith UIDPLUS, elseEXPUNGE). Unparsable and oversized messages are counted asinvalidand stored as no event. - Taken means stored: a message stays in
mailboxuntil its event has committed, so a reader that stops or loses its connection between the commit and the move reads it again, and it is a copy by itsMessage-ID(below). A Source overpipeline.sourceRate, or a database that can't store, leaves the round's messages where they are; the reader tries again after 1 s, then after twice as long up to 1 min. - Waiting. After a round that left no message, and during which
the server announced none (
EXISTS), the reader waits with IDLE (RFC 2177), sent again every 5 min so that a connection that died silently is noticed; any untagged response ends it early. A server without IDLE is searched everypollInterval. - Failures. Every command has a bound of 30 s, a fetch 2 min. A
connection, login or selection that fails, or a command the server
refuses, ends the session; the reader connects again after 1 s,
then after twice as long up to 1 min. A mailbox that can't be read
for 2 min is a condition of the Source,
self/mailbox-unreadable/<source>, with the error, which the reading node stores like a condition of a node (pipeline.md §19).
- One reader. A node reads a mailbox while it holds the Source's
reader lock (class 11,
architecture.md §4) on its
lock connection, so one node of the hub reads it; a node without a
deployment key reads none. A changed
- The copy hash is the
Message-ID, so a message read twice is a copy (without one, the variables' hash). HTML bodies are converted to text; the raw payload is the message as received (message/rfc822), so attachments are kept there only. Mail bodies stay in the hub like every payload. - Variables.
fromis theFromaddress,totheToaddresses; without those headers, the envelope's sender and recipients over SMTP, empty over IMAP.headersholds the first header of each name, the name lower-case and the value on one line; theDateheader is the event'soccurred_at. - The mapping usually derives the key and role from the subject
(
subject.startsWith("RECOVERY")); the default takes the whole subject as the key, so each distinct subject opens its own alert.
Syslog. Network devices and hosts send RFC 5424 or RFC 3164 messages
over UDP, TCP (octet counting or newline framing, per frame) or TLS
(RFC 5425). With [server] syslog_client_ca
(operations.md §2) the TLS listeners
require a client certificate that chains to it. On a managed installation,
syslog, like SNMP (§4), arrives only through the
hub's relays (§15): the installation opens no
syslog or SNMP listener of its own, as a sender's address names no hub
(architecture.md §11 Front
door).
- A syslog Source needs a
match(a CEL condition over the variables): only matching messages are stored as events; the others are counted per Source (excubio_syslog_unmatched_total) and not stored, because syslog carries logs, not only events. Amatchthat fails to evaluate doesn't match. A message goes to the first Source in name order whoseallowFromcontains the sender, and only to it; a sender outside every Source'sallowFromis rejected and counted. - Parsing. RFC 5424 gives every variable,
-an empty string, and its time stamp the event'soccurred_at. RFC 3164 giveshostafter an optionalMmm dd hh:mm:ssor RFC 3339 time stamp,appandprocidfrom aTAG[PID]:orTAG:prefix, and the rest asmessage; itsMmm ddtime stamp has no year or zone and sets nooccurred_at. A message without a host name (no time stamp in RFC 3164,-in RFC 5424) has the sender's address ashost; one without a valid priority isuser.notice(facility 1, level 5) and its whole text the message. A message cut atpipeline.maxSyslogByteshastruncatedset. A field's cost grows with the strings its string functions read (spec-format.md §3.1), so a long message bounds how many string operations onmessagea field may use. - TCP and TLS messages are stored before the next one is read; UDP messages, which are never retried, go to the same bounded spool as SNMP traps when the database can't take writes (architecture.md §4).
14. Inventory sources
The types of InventorySource (spec-format.md §3.10) and what each reads. Every type maps its classes to Excubio's (pipeline.md §15) with built-in mappings that the InventoryModel can override. All types read only; their accounts need no write rights.
| Type | Reads | Access |
|---|---|---|
sql | The queries of spec-format.md §3.10 against Microsoft SQL Server or PostgreSQL | A read-only database user |
csv | Uploaded files with the columns of the sql queries | Upload through the API |
servicenow | Table API: cmdb_ci and the classes listed in classes, cmdb_ci_service and its subclasses, svc_ci_assoc (service maps), sys_user_group (assignment groups as grp) | A user with read access to those tables (OAuth client credentials or basic) |
ucmdb | UCMDB or OBM's RTSM: the CIs, services and service memberships in the results of named TQL queries | An integration user |
- Each type sets the identity kinds it knows: FQDNs, host names and IPs
from every type; serials and VM UUIDs from the CMDBs that hold them;
and
reffor a CMDB's reference to another system's ID (a ServiceNow CI'scorrelation_id).sqlandcsvsources name the kind of each alias. - Every FQDN alias also gives the host alias of its first label.
servicenowreads, in pages of 1,000 records,cmdb_cirecords whosesys_class_nameis one ofclasses:sys_id(the ID),name,sys_class_name(the class),fqdn,host_name,ip_address,serial_number,correlation_id(ref) andsupport_group(its group's name fromsys_user_group);cmdb_ci_servicerecords withbusines_criticality(1 - most criticalis criticality 4,4 - not critical1),support_group,parentand theirsys_idasitsm_ref; and the links ofsvc_ci_assoc. It authenticates with Basic or with OAuth client credentials at the Secret'stoken_url. Through a relay (§15) thetoken_urlmust be on the host and port ofbaseUrl: the hub's connections to the source go to that target only.ucmdbsigns in at/rest-api/authenticateand runs each query ofqueriesat/rest-api/topology. CIs of theserviceTypesare services, the others CIs of their type as class, withdisplay_label(elsename) as name and the aliasesprimary_dns_name(fqdn),name(host),ip_address,serial_numberandbios_uuid(vm-uuid);support_groupis the group, a service'sbusiness_criticalityits criticality. A relation from a service to a CI links them, one from a service to another makes it the other's parent.sqlreads each query in a read-only transaction (on SQL Server one rolled back at the end); its columns are named as in spec-format.md §3.10, and values of other types are read as their text. The DSN's host must be one of its Secret'shosts.- Built-in class mappings, besides each of Excubio's classes mapping to itself:
| Type | Source classes → Excubio class |
|---|---|
servicenow | cmdb_ci_server, cmdb_ci_linux_server, cmdb_ci_win_server, cmdb_ci_unix_server, cmdb_ci_aix_server, cmdb_ci_solaris_server, cmdb_ci_computer → host; cmdb_ci_vm_instance, cmdb_ci_vmware_instance → vm; cmdb_ci_esx_server, cmdb_ci_hyper_v_server → hypervisor; cmdb_ci_cluster, cmdb_ci_vcenter_cluster → compute-cluster; cmdb_ci_kubernetes_cluster → k8s-cluster; cmdb_ci_kubernetes_node → k8s-node; cmdb_ci_kubernetes_namespace → namespace; cmdb_ci_kubernetes_workload → workload; cmdb_ci_docker_container → container; cmdb_ci_appl → application; cmdb_ci_app_server, cmdb_ci_web_server → middleware; cmdb_ci_db_instance, cmdb_ci_db_mssql_instance, cmdb_ci_db_ora_instance, cmdb_ci_db_postgresql_instance, cmdb_ci_db_mysql_instance → database; cmdb_ci_netgear, cmdb_ci_ip_switch, cmdb_ci_ip_router → network-device; cmdb_ci_lb, cmdb_ci_lb_bigip → load-balancer; cmdb_ci_ip_firewall → firewall; cmdb_ci_storage_device, cmdb_ci_san → storage; cmdb_ci_storage_pool, cmdb_ci_vcenter_datastore → datastore; cmdb_ci_cloud_service_account, cmdb_ci_vm_object → cloud-resource; cmn_location → site |
ucmdb | node, host_node, unix, nt → host; vmware_esx_server, hypervisor → hypervisor; cluster, vmware_cluster → compute-cluster; k8s_cluster → k8s-cluster; k8s_node → k8s-node; k8s_namespace → namespace; k8s_workload → workload; docker_container → container; business_application, running_software → application; application_server, j2eeserver, webserver → middleware; database, oracle, sqlserver, postgresql, mysql → database; net_device, switch, router → network-device; lb, load_balancer → load-balancer; firewall → firewall; storagearray → storage; datastore → datastore; location → site |
- Imports page through the source and stop at
inventory.maxCis; a truncated import is rejected. - A SaaS source (a ServiceNow instance) is read from the hub through the forward proxy; nothing is sent to it but the queries.
15. Through a relay
A relay (architecture.md §13) carries intake from its network to the hub and the hub's connections to targets in it.
- Channels. Senders address a relay's listeners
(operations.md §12) as they would the hub's,
and every channel works as at the hub: Sources, intake tokens,
allowFrom(the sender's address as the relay forwards it), SNMP communities and USM users, syslog TLS client certificates, SMTP recipients and sizes. HTTPS intake (https, or plain HTTP to the relay,http), syslog over TCP and TLS and SMTP are connections that the relay copies to the hub, so the sender gets the hub's answer and retries as at the hub; SNMP traps and syslog over UDP go through the relay's spool and are stored once, with the relay's receive time asspooled_at. The OBM REST and opcmsg paths are HTTPS intake and work the same. AnemailSource's IMAP mailbox in the relay's network is a target (below), not intake. - Targets. The hosts that Settings
relay.networksnames are reached through a relay, whatever the protocol:sqlinventory sources (PostgreSQL and SQL Server),servicenowinstances anducmdb, TicketProfiles (sm9 and webhook), write-back (OBM, the Icinga API), Webhooks, the SMTP relay ofnotify, IMAP mailboxes ofemailSources, OBM upstream, the fallback channel's SMPP account and audit sinks. TLS to them is the hub's, verified as for any target (architecture.md §11), and their Secrets are sent only to the hosts they declare, as named in the spec, not as the relay resolves them. A target that the relays can't reach fails like an unreachable one, with the reason (architecture.md §11 Egress): an action retries (pipeline.md §10), an import is rejected and the merge keeps the source's last good import, a mailbox reader tries again, the fallback channel retries its send.