Memory of past incidents
Every resolved incident leaves an episode in AVACOM’s memory. An episode records what the problem looked like, the cause people confirmed, whether the root-cause analysis (RCA) was right, and which fix worked. New RCAs and the incident pages show the episodes most like the incident at hand. A playbook sums up the episodes of one kind of problem.
Recording what resolved an incident
Section titled “Recording what resolved an incident”When you set an incident to Resolved, a short dialog asks three things. All of them are optional:
- Confirmed cause, chosen from a fixed list: storage, network, database, application release, configuration change, capacity, certificate or credential expiry, hardware or platform, third party, security, no fault (a false alarm), or unknown.
- Was the RCA right?: right, partly right or wrong. The dialog shows the cause the RCA named.
- What resolved it: one of the incident’s fixes, something done by hand, or “it recovered by itself”. A short note can say what the cause really was or what was done by hand.
Resolve without details resolves the incident and records nothing. To change the answers later, open the incident: its overview shows Resolution with a Change button. Every change shows on the incident’s Activity tab as “Incident resolution recorded”.
What an episode holds
Section titled “What an episode holds”AVACOM builds the episode when the incident is resolved, whether a person resolved it or its alerts did. Each episode holds:
- the problem in a few lines (name, summaries, the RCA’s title and the alert names), masked as the RCA’s evidence is. Passwords, keys, card numbers, IBANs and email addresses are always masked, and IP addresses too when Settings → AI asks for it;
- its kind of problem, a short name such as
disk-fullorcertificate-expiry, worked out from those lines. An administrator can change it on the Memory page; - the hosts and services it touched;
- what the latest RCA said, and the verdict people gave on it;
- every fix of the incident, taken from the fix’s audited record. Each fix gets an outcome: worked (people said it resolved the incident), ran (it ran to the end and nobody said whether it helped), did not help, failed, stopped or rejected;
- the time to acknowledge and the time to resolve, counted as the overview counts them.
Similar past incidents
Section titled “Similar past incidents”The Root cause tab lists the past incidents most like this one under Similar past incidents. For each it shows the cause people confirmed, the fix that worked, the fixes that did not help, and why it counts as similar. When people judged the past incident’s RCA wrong, a red note shows the cause that RCA blamed. Below the list are the playbooks that match.
The RCA gets the same incidents as its past incidents (I1, I2…), with the confirmed cause, the verdict on their RCA, the fix that worked and the fixes that did not help. A past incident is a lead, never proof: the RCA’s cause still has to rest on this incident’s own alerts, metrics and logs.
How AVACOM ranks them
Section titled “How AVACOM ranks them”AVACOM looks at the resolved incidents of the last year (up to 500, newest first, plus up to 300 older ones whose resolution people recorded) and ranks them by:
- Text: how much their problem text shares with this incident’s, word by word. A word every incident uses
counts for almost nothing; a rare word such as
tablespacecounts for a lot. This runs in plain Python. Nothing leaves AVACOM, and it needs no extra software. - Structure: the services and hosts both incidents name, the same correlation rule, and a link people made with Same incident in the past. That link always puts the past incident near the top.
- Recency: an incident from last week counts for more than one from last spring.
- Outcome: between two equally similar incidents, one whose fix worked and whose RCA was right comes first. The outcome never makes an unrelated incident look similar.
An incident that does not reach a minimum similarity is not shown.
Playbooks
Section titled “Playbooks”When at least two episodes share a kind of problem or a confirmed cause, AVACOM can write a playbook for them. A playbook has a summary, the common causes, the steps that worked (most often worked first) and what did not help: fixes that failed and causes an RCA blamed wrongly. Every item names the episodes (EP1, EP2…) it comes from.
AVACOM counts the steps and their order from the episodes itself. The AI service of Settings → AI then writes them up as a short playbook from the masked episodes. Without an AI service, AVACOM shows the counted version as the playbook.
A playbook is kept until its episodes change. It is then drafted again automatically, unless an administrator turned that off. An administrator can edit a playbook, and a later redraft never overwrites that edit. When new episodes arrive, the playbook is marked “new episodes since this edit”. Only Discard edit and redraft replaces it.
The Memory page
Section titled “The Memory page”Memory in the sidebar, under Incidents, has three tabs:
- Episodes: every episode, newest first, with its kind of problem, cause, RCA verdict, fix outcome and time to resolve. Administrators can Edit an episode (kind of problem, cause, verdict, note) or Forget it. A forgotten episode is never shown to RCAs or operators again, is not rebuilt, and its content leaves the playbooks that drew on it. Turn on Forgotten episodes and press Bring back to restore one; recording the incident’s resolution again does not. Add incidents resolved earlier builds the episodes of incidents resolved before the memory existed. Running it twice changes nothing.
- Playbooks: every kind of problem and cause with episodes. Administrators can draft, redraft, edit or delete a playbook.
- Settings (administrators):
- Embeddings from your AI service, off by default. When on, each episode’s masked text is also embedded
by the AI service of Settings → AI (the OpenAI-compatible
/embeddingscall, which models hosted in the bank offer too). Ranking then also finds incidents that describe the same problem in other words. For Azure OpenAI or a model hosted in the bank, name the embedding model or deployment. OpenAI usestext-embedding-3-small. - Redraft playbooks when an incident is resolved, on by default. Each redraft is one AI request, and there
are at most 10 per hour (
AVACOM_MEMORY_PLAYBOOKS_PER_HOUR).
- Embeddings from your AI service, off by default. When on, each episode’s masked text is also embedded
by the AI service of Settings → AI (the OpenAI-compatible
For operators of the server
Section titled “For operators of the server”Build the episodes of every tenant’s incidents resolved before the memory existed:
python -m avacom.memory.backfill--tenant ID limits it to one tenant. --rebuild also rebuilds episodes that already exist and keeps what people
recorded. --embed adds embeddings when a tenant turned them on. --playbooks drafts the playbooks of every
group with enough episodes. The command uses the API’s database settings.