Skip to main content

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 audit fails 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 refused
Redis isn’t running or REDIS_URL points to the wrong host. Fix:

No Celery workers found
Redis is up but no workers are registered. kanari audit will still run — it will report NO_WORKERS as a finding. Start a worker to resolve.
PyYAML not installed
PyYAML is required to load kanari.yaml. It’s included in the standard pip install kanari but may be missing in minimal environments.
API key not set
This is informational, not an error. 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.