SagaraOps is an open-source incident triage tool for Linux diagnostics.
It ingests sosreport bundles, extracts operational signals, prioritizes severity, and produces actionable summaries for faster troubleshooting.
When incidents happen, teams often receive large diagnostic bundles (sosreport) that are difficult to parse quickly. Common pain points:
- critical signals are buried in thousands of lines of logs,
- triage quality depends on individual experience,
- handover quality is inconsistent,
- response time increases during off-hours.
SagaraOps provides a structured triage pipeline:
- Ingest report bundles via API/dashboard.
- Queue analysis jobs for asynchronous processing.
- Parse key system signals (errors, OOM, disk, service failures, etc.).
- Classify severity using deterministic rules.
- Summarize findings with local AI (Ollama), with fallback when AI is unavailable.
- Expose results through API and web dashboard.
- Upload report files from the web dashboard
- Queue-based background processing (Redis + worker)
- PostgreSQL-backed report state and summaries
- Structured parser for core incident signals (kernel, memory, disk, service, network)
- Rule-based severity classification with evidence snippets
- AI-assisted summarization with local model endpoint (
Ollama) - Report export endpoints (Markdown and PDF)
- CI workflow for API/web validation
[Web UI] ───────► [FastAPI]
│
├──► [PostgreSQL] (report metadata + results)
└──► [Redis Queue] ───► [Analyzer Worker]
│
├──► signal parser
└──► AI summary (Ollama / fallback)
- Web: Next.js
- API: FastAPI
- Worker: Python
- Database: PostgreSQL
- Queue: Redis
- AI runtime: Ollama (local)
- Container orchestration: Docker Compose
- CI: GitHub Actions
- Docker Desktop / Docker Engine with Compose
- Git
# from repo root
cp .env.example .env
cd infra/docker
docker compose up -d --buildOpen:
- Web:
http://localhost:3000 - API health:
http://localhost:8000/health
Optional (AI model):
docker exec -it docker-ollama-1 ollama pull llama3.1:8bGET /health— API health checkPOST /v1/reports/upload— upload report fileGET /v1/reports— list reportsGET /v1/reports/{report_id}— report detail (includes structured findings)GET /v1/reports/{report_id}/export.json— export machine-readable report package (?download=1for file download)GET /v1/reports/{report_id}/export.md— export markdown reportGET /v1/reports/{report_id}/export.pdf— export PDF reportGET /v1/reports/{report_id}/export.bundle— export ZIP bundle (.json + .md + .pdf)
SagaraOps/
├─ apps/
│ ├─ web/ # Next.js dashboard
│ └─ api/ # FastAPI service
├─ workers/
│ └─ analyzer/ # async report analyzer
├─ infra/
│ ├─ docker/ # compose stack
│ └─ scripts/ # utility scripts
├─ docs/
│ ├─ architecture.md
│ └─ roadmap.md
└─ .github/
├─ workflows/
└─ ISSUE_TEMPLATE/
- Deeper parser coverage for common Linux incident classes
- Markdown/PDF report export
- Notification integrations (chat/email)
- Scheduled and remote agent ingestion
- Multi-tenant support and access controls
Contributions are welcome. Please read:
If you find a vulnerability, do not open a public issue. Please follow private reporting guidance in SECURITY.md.
MIT — see LICENSE.