Overview
Scheduled audits run automatically on a recurring basis without manual initiation. The scheduling workflow has two steps: create an audit template that defines the goal and scope, then create a scheduled audit from that template with a cron expression or interval. Scheduled audits are ideal for nightly consolidation runs, peak-hour workload stabilization checks, and post-recovery zone rebalancing.Prerequisites
- Administrator privileges
- At least one data source configured for the selected goal
Audit Templates
Audit templates are reusable configurations that serve as the basis for both manual one-off audits and scheduled recurring audits.- Dashboard
- CLI
Navigate to Audit Templates
Log in to the Xloud Dashboard (
https://connect.<your-domain>) and navigate to
Admin → Resource Optimizer → Audit Templates.Create a template
Click Create Audit Template and fill in:
| Field | Description | Example |
|---|---|---|
| Name | Template identifier | daily-consolidation |
| Goal | Optimization objective | server_consolidation |
| Scope | Target scope | CLUSTER |
| Description | Optional documentation note | Nightly server consolidation |
Schedule a Recurring Audit
- Dashboard
- CLI
Navigate to Audit Templates and click Actions → Create Audit on your
template. In the audit creation form, enable Auto Trigger and set a cron
expression in the scheduling field.
| Cron Example | Schedule |
|---|---|
0 2 * * * | Daily at 02:00 AM |
0 */6 * * * | Every 6 hours |
0 2 * * 0 | Weekly on Sunday at 02:00 AM |
Auto-Trigger vs Manual Approval
| Mode | Behaviour | Recommended For |
|---|---|---|
| Manual approval (default) | Plan requires explicit execute call | Production environments |
| Auto-trigger | Plan executes immediately after audit | Dev/test, or validated strategies only |
Manage Scheduled Audits
List all audits
Delete a scheduled audit
Delete an audit template
Action Plan Expiry
Action plans become stale when the cluster state changes significantly after audit completion. Configure expiry to prevent old plans from being executed.- XDeploy
- CLI
Open Advanced Configuration
Open XDeploy and navigate to Advanced Configuration. In the Service Tree
(left panel), select watcher.
Edit the Expiry Setting
Click New File or select an existing Plans older than
watcher.conf from the File Browser
(right panel). Add the following in the Code Editor (center panel):/etc/xavs/config/watcher/watcher.conf
action_plan_expiry hours are automatically invalidated. A new audit
must be run to generate a fresh plan.Next Steps
Action Plan Policies
Configure manual vs automatic action plan execution policies.
Strategy Configuration
Tune strategy parameters for scheduled audits.
Audit History (User)
Review scheduled audit results and trends over time.
Troubleshooting
Diagnose scheduled audit failures and data source issues.