# How it works

ADIM is a decision layer between your Zabbix and your servers. Deterministic rules decide first, a model chooses among allowed runbooks second, and every step is written to the incident file.

## The decision path

Every alert takes the same path. Most of it runs without a model.

*Decision path: alert, storm and expected-event gates, evidence, class, risk gate, then automatic, approved or to a person, then the 15-minute check and the record.*

Alert → storm and expected-event gates → evidence → class → risk gate (RCI) → automatic | approved | to a person → 15-minute check → record.

1. **Alert in.** Zabbix sends the alert to ADIM through one webhook. ADIM is one extra Zabbix action; your existing notifications keep working.
2. **Storm and expected-event gates.** Alerts that arrive together are settled into one incident. An alert that follows a logged change is closed with that evidence.
3. **Evidence.** Read-only runbooks collect evidence on the host: service state, logs, disk, memory, recent changes.
4. **Class.** Rules read the trigger fields and assign a class such as disk, service or agent. The model's text never sets the class.
5. **Risk gate.** The runbook's RCI level, the class guard, the repeat counter and the list of protected systems decide what may happen.
6. **Automatic, approved or handed to a person.** A safe runbook runs; a riskier one waits for a named approval; anything else goes to a person with the evidence attached.
7. **15-minute check.** The result is measured again. If the incident is not stable within 15 minutes, ADIM stops and a person takes over.
8. **Record.** Every step, the evidence and the approver are written to the incident file.

## Rules first, then the model

These gates decide before any model sees the alert:

- **Expected change.** A maintenance window, an OS-update window or a change declared from chat explains the alert.
- **Alert storm.** Alerts that arrive at the same time become one incident. A fleet-wide "no data" burst is treated as a monitoring problem, never as a wave of host restarts.
- **Repeat counter.** If the same alert arrives 3 times in 6 hours, automation stops and the incident goes to a person.
- **Correlation.** A VM alert while its hypervisor is down is a symptom, not a separate incident.
- **Protected systems.** Databases and the monitoring stack you mark as protected are never restarted without approval.

What reaches the model is the alert text, the host name, the trigger, operating context and short evidence excerpts. It returns one choice from the runbook list. By default the model runs behind a cloud LLM API. You can instead point ADIM at your own OpenAI-compatible endpoint, on your hardware, with a model you choose; a compatibility test of about 50 alert scenarios runs before go-live. Details are on the [security page](https://adimops.com/security/#leaves).

## The runbook library

A runbook is a fixed workflow with fixed commands: pre-check, action, post-check, result record. The model can choose one; it cannot write one.

*Runbooks by platform and mode*

| Platform | Runs on its own | Asks for approval | Diagnoses and advises |
|---|---|---|---|
| Linux | Restart the Zabbix agent; start a service that is still enabled | Disk clean-up, item by item, safe candidates only | Reboot and OS-change investigation; disk, CPU and memory analysis; monitoring-gap check |
| Windows | Restart the Zabbix agent; start a service that is still enabled | Disk clean-up, item by item | Disk, CPU and memory analysis; update and boot evidence |
| Docker | Restart a container that is not protected | Restart a protected container | Monitoring-gap check |
| VMware vSphere | Close symptoms and duplicates that correlation explains | Power on a VM, reconnect a host, exit maintenance, remove old snapshots | Investigation and L2 advice for other vSphere cases |
| Vulnerabilities | — | Linux package update; Windows catalog software update or uninstall, hash and signature checked | Monthly agentless scan, AI fix guide, time-limited risk acceptance |

## Three recorded modes

Every action runs in one of three modes, and the mode is stored with it. There is no fourth.

- **Automatic** — the runbook passed every gate and ran on its own.
- **Approved** — a named person approved it from chat; their identity is stored with the action.
- **Suppressed** — the alert was a symptom or a duplicate; it was acknowledged and nothing ran.

## RCI: how much a runbook may do alone

The Runbook Confidence Index scores each runbook on predictability, reversibility, blast radius, past success and detection confidence. The result is one of four levels: Autonomous, AI Recommended, Approval Required, Manual Only. You set the levels; ADIM enforces them.

## One approved action, start to finish

A record from the lab, where the VMware layer is validated end-to-end against a vCenter simulator.

*Lab: vCenter simulator*

vCenter simulator · 7 September 2026

- `17:13` **Alarm** — VM vm-014 powered off
- **Evidence** — vCenter event log: guest OS shut itself down; no operator record
- **Decision** — Class: guest-initiated shutdown; proposal: power on the VM (needs approval)
- `17:35` **Approval** — Approved from chat by the on-call administrator
- `17:36` **Result** — VM powered on; Zabbix problem closed

## What ADIM is not

It does not solve everything. It knows what it does not know.

*What ADIM does with each kind of problem*

| Fixes on its own | Asks for approval | Diagnoses and advises |
|---|---|---|
| A stopped service, a stopped agent, a container that is not protected, the echo alerts of a planned change, VM and host alerts that resolve themselves | Disk clean-up, protected systems, VM power-on, host reconnect, snapshot removal, exit from maintenance, repeated incidents, vulnerability fixes | Application faults, database corruption, hardware and hypervisor failures, datastore capacity and latency, alert types it has not seen before |

For the third group the alert arrives with evidence, a likely cause and a recommendation already attached.

## It finds its own gaps, and a second reviewer checks the fix

When ADIM meets an incident it could not handle, it diagnoses the gap and files an improvement proposal — approve, reject or postpone — for a person to review. It never changes its own workflows in production; people make those changes, versioned and backed up nightly.

Each proposal is also checked by an independent reviewer that runs on a different model family from the one that wrote it. The reviewer can only stop a proposal or ask a person. It cannot apply anything. Today its verdict is shown on the proposal card next to the human decision.

## Terms

- **RCI (Runbook Confidence Index)** — A score that decides whether a runbook may run alone, needs approval or stays manual.
- **Operational Memory** — The record of past incidents, their outcome and root cause, consulted for every new alert.
- **Shadow mode** — A setting in which every action runbook waits for approval while diagnostics keep running; pilots start in it.
- **Class guard** — The rule that an action runbook runs on its own only when its class matches the class of the alert.
- **Storm gate** — The gate that settles alerts arriving together into one incident before any decision is made.
- **15-minute rule** — An incident that is not stable within 15 minutes leaves automatic remediation and goes to a person.
- **Change-aware closing** — Closing an alert that a logged change explains, with that change attached as evidence.

---

Last updated: 2026-11-17 · https://adimops.com/how-it-works/
