Load the demo
The scripts in scripts/demo/ fill an evaluation install with a fictional retail bank, and play the incident
described in From alert to fix. They use only Python’s standard library.
-
The bank. Alerts, incidents, saved views, dashboards, a service topology and a few providers on every page:
Terminal window python scripts/demo/seed.py --api http://127.0.0.1:8080Add
--liveto go on sending alerts. Add--api-key <key>on an install with sign-in (an admin key). It is safe to run again: what already exists is left alone. -
MSN’s logs, with MSN running and
MSN_ADMIN_KEYin your environment:Terminal window python scripts/demo/seed_msn.pypython scripts/demo/seed_msn.py --connect --avacom http://127.0.0.1:8080The first command sends the bank’s audit events and syslog lines. The second installs the MSN provider in AVACOM and prints the two settings (
MSN_AVACOM_URL,MSN_AVACOM_API_KEY) that make MSN forward its critical events. Running the first one again adds the events again, since logs are append-only. -
The incident. SolarWinds, Dynatrace, AppDynamics and the database host send their performance and event logs into MSN, including a normal day the day before, which the correlation uses as its baseline. Their alerts go to AVACOM, and the story’s services go into the service topology:
Terminal window docker compose --profile demo up -d rca-inboxpython scripts/demo/seed_rca_story.py --env-file .env --avacom http://127.0.0.1:8080 --analyze-now --send --fix--analyze-nowanalyzes the incident at once instead of after a minute.--sendsends the RCA to the demo inbox athttp://127.0.0.1:8099, which stands in for a Slack channel.--fixprepares, approves and runs the fix. The commands are simulated, and the steps for a person are marked done.--setup-auditalso gives the MSN provider an audit key, so every fix decision lands in MSN.
The RCA needs an AI key (AI model and key). Without one, the incident still gets its evidence and cause chains.
The demo server
Section titled “The demo server”Deploy on a server loads all of this, plus demo users for each role, on its own.