Overview
kanari doctor runs a series of connectivity and dependency checks and tells you exactly what’s working and what isn’t — with a specific fix for each problem.
Run it when:
- You just installed Kanari and want to verify your setup
kanari auditfails with a connection error and you’re not sure why- You want to confirm a config file is valid before deploying
Flags
Exit codes
Checks
kanari doctor runs 8 checks in order:
All checks always run — doctor doesn’t stop on the first failure.
Check statuses
Examples
Common issues
Redis connection refusedREDIS_URL points to the wrong host. Fix:
No Celery workers found
kanari audit will still run — it will report NO_WORKERS as a finding. Start a worker to resolve.
PyYAML not installed
kanari.yaml. It’s included in the standard pip install kanari but may be missing in minimal environments.
API key not set
kanari audit and kanari watch work without an API key. You only need one if you’re running kanari agent in API mode for persistent monitoring and alerts.