What the platform exposes
Orka Engine
Orka Engine exposes VM state and host utilization through the CLI and Ansible playbooks. There is no built-in metrics endpoint; monitoring is done by querying Orka through Ansible or theorka-engine CLI.
VM state:
/var/log/orka-engine.log on each Mac host.
Management UI (Semaphore)
The management UI provides task execution history, playbook run logs, and basic job status. All playbook runs are logged with timestamps, operator name, and output. Access athttp://localhost:3000 on your Ansible controller (or wherever you deployed it).
Citrix Cloud Console
Citrix Cloud provides the most complete view of session and health. Key monitoring areas:| Location | What to check |
|---|---|
| Monitor → Machines | VDA registration state, power state, faults |
| Monitor → Sessions | Active sessions, session quality, launch success rate |
| Monitor → Cloud Connectors | Connector status and heartbeat |
| Monitor → Trends | Historical session launch times, session quality trends |
| Monitor → User Activity | Per-user session history and connection attempts |
- Unregistered machines: 0
- Session launch success rate: >95%
- Average session launch time: under 30 seconds
- Cloud Connectors: all “Up”
Citrix VDA logs (on VMs)
Located at/Library/Application Support/Citrix/VDA/Logs/ on each macOS VM.
Key files:
vda.log: main VDA service log (registration events, errors)registration.log: registration-specific eventsbroker.log: communication with Citrix Cloud
Setting up monitoring
Basic: Ansible-based capacity polling
A cron job on the Ansible controller captures daily capacity snapshots:Health check automation
Runlist.yml on a schedule and scan its output for unexpected VM states. Pipe the output through your alerting system’s ingest endpoint (most support a simple curl POST to a webhook). Schedule via cron every 15 minutes and treat any non-zero exit code or missing VM name as an alert condition.
Integration with external monitoring tools
MacStadium VDI doesn’t expose a native metrics API. The general integration pattern is to run Ansible playbooks on a schedule, capture their output to log files, and forward those logs to your monitoring platform using its standard log ingestion agent. For example, with Datadog: install the Datadog Agent on your Ansible controller, configure a log collection rule pointing at your capacity log files (for example,/var/log/orka-capacity-*.log), and create a monitor based on log content. The approach is the same for CloudWatch Logs, Grafana Loki, or any other log-based monitoring platform. The log files are the integration point, not a metrics API.
For alerting, most platforms support webhook-based notifications. Pipe playbook output through your alerting system’s ingest endpoint from your cron jobs. Consult your monitoring platform’s documentation for the specific agent configuration and webhook format.
Alerting recommendations
Critical (page immediately)
| Condition | Detection method |
|---|---|
| VDA registration drops below 80% of expected | Citrix Cloud Console → Monitor → Machines |
| All VMs in a Delivery Group unavailable | Citrix Cloud Console → Monitor → Machines |
| Host disk usage >90% | df -h /Users/<host_username>/.local/share/orka/data via Ansible |
| Orka Engine service not responding | orka-engine --version fails via Ansible |
Warning (respond within 4 hours)
| Condition | Detection method |
|---|---|
| >10% of session launches failing over 15 minutes | Citrix Cloud Console → Monitor → Trends |
| Host CPU >80% sustained | top via Ansible |
| Host disk usage >75% | df -h /Users/<host_username>/.local/share/orka/data via Ansible |
| Session launch time exceeds 30-second baseline by 50% | Citrix Cloud Console → Monitor → Trends |
Informational (review daily)
| Condition | Detection method |
|---|---|
| New “Unregistered” VMs appear | Citrix Cloud Console → Monitor → Machines |
VM count per host near max_vms_per_host | list.yml output |
| Image versions on hosts are inconsistent | orka-engine image list via Ansible |
MSDC-Hosted vs. Self-Hosted differences
- MSDC-Hosted
- Self-Hosted
MacStadium monitors physical host health, hardware, and data center infrastructure. You don’t have access to hardware-level metrics directly.
- For host hardware alerts (disk failure, hardware fault), MacStadium’s monitoring will detect these and notify you.
- For Orka Engine and VM-layer monitoring, use the Ansible-based approach above.
- MacStadium can provide infrastructure-level metrics on request. Contact your account representative.

