For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Inventory Synchronization

The synchronization is an automated action that fetches virtual machines and containers from the Proxmox API and creates or updates them as OCS assets.

Automated actions are scripts stored in a specific location on the server's file system. They are executed using Django's built-in management commands, according to a defined schedule.

Each automated action consists of:

  • a scheduler entry, which defines its status and how often it runs.

  • a script, located in the designated directory and following the required naming and format conventions.

  • a cron job (or similar system scheduler) that triggers execution of the management command at the scheduled interval.

From Configuration → General → Automated actions, you can view each automated action's last execution date, status, and recurrence interval, and access its execution history.

Automated action overview
Automated action overview

Default automated actions

  • Proxmox Inventory synchronization: synchronizes Proxmox asset inventories.

Executing automated actions

By default, the Proxmox Inventory automated action runs every day at 2 AM GMT.

One-time run

Automated actions are executed using a dedicated Django management command. To launch the process manually from the OCS backend directory:

To run the Proxmox Inventory task immediately, bypassing its configured recurrence, use the --force flag.

More details are available on the Automated actions page.

Last updated