Documentation / KIFAA Deployment Guide
KIFAA is a self-hosted platform with four moving parts:
Endpoints run the lightweight Go agent — a single cross-compiled binary (Windows amd64/arm64, Linux amd64/arm64) that polls the API every 5 seconds.
| RequirementMinimumRecommended | ||
| CPU | 2 cores | 4+ cores |
| RAM | 4 GB | 8 GB+ (timescale queries love RAM) |
| Disk | 40 GB SSD | SSD, sized for ~1 GB per 10 agents per month + retention |
| OS | Ubuntu 22.04+ / Debian 12 | Same |
| Software | Docker + Docker Compose v2 | Same |
Download the deployment bundle (provided with your KIFAA license from Core Mtaalam) and create the environment file:
Bring up the stack:
The stack starts PostgreSQL (with TimescaleDB initialized via the timescaledb image), Redis, the API, Celery workers, the Celery beat scheduler and the frontend behind Nginx.
Multiple workers? If you scale the API to several uvicorn workers, startup table creation can race and throw pg_type duplicate-key errors. KIFAA handles this with an idempotent create + rollback pattern — if you ever see it, just restart the API container.
Agents are distributed from the built-in Agent Downloads portal (no manual file copies). In the UI:
The agent registers itself, then reports CPU, RAM, disk, network, services, software inventory and hardware specs every 5 seconds. Adding a new collector later requires no agent redeploy — collectors are modular server-side.
For production, put KIFAA behind the bundled Nginx and enable Let’s Encrypt via the platform’s ACME integration (HTTP-01 challenge):
KIFAA also tracks certificate expiry across the fleet and alerts before certificates lapse — dogfooding its own monitoring.
https://kifaa.example.com and log in with the admin account from .env.admin role.Everything from here is dashboard-driven: alerts, compliance reports, AD operations, UPS policies and the quarterly security report builder.
| SymptomCause / fix | |
| Agent shows Offline | Check agent service status and that SERVER_URL is reachable from the endpoint. Verify the registration token wasn’t rotated. |
| Dashboards slow with 137M+ rows | Confirm the time window is narrow (last 2 hours for “latest value” views). The aggregate tables handle deep history. |
| No Telegram alerts | Bot token + chat ID in Settings → Notifications; test with “Send test alert”. |
| Certificate not auto-renewing | Confirm port 80 is reachable for the HTTP-01 challenge and the renewal schedule is enabled (Celery beat must be running). |
| DB filling up | Reduce the retention policy (default 30 days of raw metrics; summaries are kept longer). |
Backups: take a PostgreSQL dump or volume snapshot before major upgrades. KIFAA’s own backup discipline (4-hour automated backups, pre-migration snapshots) applies to your business data — apply the same rule to KIFAA itself.
Tell us what you are trying to run — we will tell you the honest way to run it. Free consultation, no obligation.
Talk to the team