Health & Services¶
Monitoring the status of your xcore ecosystem is vital for maintaining a healthy production environment.
Global Health Check¶
The health command performs an exhaustive check of all configured services and components.
| Check Everything | |
|---|---|
This command validates:
- Connectivity: Database and Redis connections.
- Plugins: Integrity, signature validity, and loading status.
- Worker: Celery/XWorker availability.
- Environment: Python version and required dependencies.
Example output¶
Service Failures
If any critical service is down, xcli health returns a non-zero exit code, making it suitable for CI/CD health gates.
| Use in CI/CD | |
|---|---|
Service Status¶
For a more focused view of system services, use the services command.
| Service Overview | |
|---|---|
Example output¶
Status values:
| Status | Meaning |
|---|---|
UP |
Service initialized and healthy |
DOWN |
Service failed to start or crashed |
DEGRADED |
Service started but reporting errors |
Service Management
Individual services can be managed via the manager services command group. See Service Management for details.
Troubleshooting¶
If health reports errors:
See Also¶
- Manager Monitoring
- Real-time dashboard and resource profiling.
- Service Management
- Reload, unload, and inspect individual services.