Skip to content

Supervision, alerts, costs and logs

This page explains how to monitor your Proxmox infrastructure day to day with PxVault:

  • the dashboard (home page) and the Supervision page for the state of the fleet;
  • the System Status page for the health of PxVault itself;
  • FinOps for costs, estimated revenue and margin;
  • Alerts to be notified when a threshold is exceeded;
  • Logs for auditing and troubleshooting.

All these pages are in the side menu. Access to them depends on your permissions (see Users and access).

The dashboard

The home page (Dashboard, address /) gives an overview of your Proxmox infrastructure:

  • four counters: Hypervisors (with the number online), LXC Containers, Virtual Machines (KVM instances) and Total Instances;
  • Quick Actions: Create LXC Container, Create Linux VM, Create Windows 11 VM, Add Hypervisor, Manage IP addresses, View Alerts (a grayed-out action means you do not have the permission);
  • Recent VMs: the most recently created virtual machines and containers.

If your account does not have any permissions yet, the dashboard shows No access yet: ask an administrator to grant you rights.

Monitor the fleet (Supervision page)

The Supervision page provides global monitoring of hypervisors, virtual machines and containers. It refreshes automatically every 30 seconds; the Refresh button forces an update.

Section What it shows
Key indicators Hypervisors Online, Total Workloads, Allocated RAM, Provisioned vCPU, IP Availability, Templates, Workload Density
Cluster Efficiency Indicators vCPU overcommitment, memory commitment ratio, running workload ratio, IP saturation
IPAM Reconciliation IPAM scheduler state, last run, conflicts, orphaned or stale addresses released
Breakdowns Type x Status Matrix, Workloads By Hypervisor, Workload Type Split, Runtime Status Split, Uptime Distribution
Global Resource Pressure average CPU, memory and disk of online hypervisors
Top Workloads By Memory the machines that allocate the most RAM
Hypervisor Health Snapshot and Hypervisor Stress Ranking state, load and capacity of each server, ranked by pressure score (CPU, memory, disk)
Fleet profitability & FinOps cost summary (visible if you have access to FinOps)

Tip: high vCPU overcommitment is normal on Proxmox; watch the memory ratio and disk pressure above all, as they are more critical.

Check PxVault's status (System Status page)

The System Status page shows the health of each PxVault subsystem. It refreshes every 30 seconds.

  • A global banner: All Systems Operational, Partial Degradation or System Issues Detected.
  • Quick statistics: uptime, Response Time, Host, Node.js version.
  • One card per service (Database, Hypervisors, VM Cache, Firewall Cache, IPAM, Packer, Templates, Disk & Memory, Authentication) with its status OK, Degraded or Error and its details (online or offline hypervisors, last cache sync, IP usage, Packer binary installed, writable data directory, database size, etc.).

If the page shows Health check unreachable, the backend is not responding: see Troubleshooting.

Track costs (FinOps)

The FinOps page compares the estimated value of your machines (what you could bill) with the real cost of your servers.

  • Estimated revenue (MRR): monthly value of the machines, with the number of running and stopped machines.
  • Infrastructure cost: dedicated servers and IPv4 addresses.
  • Gross margin: revenue minus cost, with the indication Fleet profitable overall or Fleet running at an operating loss.
  • Machine fleet: machines powered on and off.
  • Profitability by hypervisor: for each server, VMs (active / total), estimated revenue, real cost, net margin and a Profitable, Loss-making, Break-even, Idle (no VMs) or Cost not set badge.
  • Quick customer quote simulator: choose vCPU, RAM, disk and Include a public IPv4 address to get the Estimated customer price and its breakdown by resource.

Configure prices and costs

FinOps figures rely entirely on your settings. Click Pricing settings (or Price list in the simulator), which opens Settings > FinOps & Pricing:

Setting Purpose
Enable the FinOps module Turns profitability metrics on or off
Main currency EUR, USD, CHF or GBP
Bill storage of stopped VMs Keeps counting the disk and IP of a stopped machine
Unit sale price list (customer value) Hourly prices: vCPU per hour, RAM (GB) per hour, SSD/NVMe disk (GB) per hour, Public IPv4 per hour
Real cost price (infrastructure) Average monthly cost per hypervisor (rental or depreciation + electricity) and Monthly cost per committed IPv4

The monthly calculation uses 730 hours per month (365 days × 24 h / 12). The same average monthly cost is applied to each hypervisor. The Quote simulator & live calculation section lets you test your prices before saving. See also Settings and maintenance.

Alerts

An alert rule monitors a metric and fires an alert when the threshold is exceeded. The alert resolves automatically when the situation returns to normal.

Rules are evaluated in the background every 5 minutes by default. Set the frequency in Settings > Sync and performance > Alert evaluation (60 seconds minimum): the new interval applies from the next check, without a restart. The ALERT_CHECK_INTERVAL_MS environment variable is only used until the settings are loaded. The Check now button runs an immediate check.

Create an alert rule

  1. On the Alerts page, click New rule.

  2. Enter a Name (e.g. "Disk usage > 90%").

  3. Choose the Metric (labels are displayed in English):

    Metric Fires when…
    Disk usage / Memory usage / CPU usage the usage of a running machine reaches the Threshold (%)
    VM down a machine (excluding templates and machines being created) is stopped
    Hypervisor down a hypervisor is no longer online
    Backup failed metric offered in the list, but it currently does not fire any alert
  4. For the three usage metrics, enter the Threshold (%). It can exceed 100% (overallocation).

  5. Choose the Scope: All resources, All VMs with a specific tag (enter the tag, e.g. production), A single VM (by VMID) (choose the machine) or A single hypervisor (by ID).

  6. Under Notify via, check Webhook and/or Email (see below).

  7. Click Create rule.

Severity: a usage alert is warning below 95% and critical from 95%; "VM down" and "Hypervisor down" are always critical.

Warning: "Hypervisor down" only applies to the All resources and A single hypervisor scopes. With a tag or VM scope, the rule never fires.

Manage rules

The Rules tab lists your rules. Click the status indicator to enable or disable a rule (Enabled - click to disable), or use Edit and Delete.

View and acknowledge alerts

  • The Active tab shows current alerts, with their severity, the affected machine or hypervisor and the measured value. All clear means no alert is firing.
  • Resolve acknowledges an alert: it moves to the resolved state. This changes nothing in the infrastructure, and if the problem persists, the alert fires again at the next check.
  • The History tab keeps all alert events (fired and resolved), displayed page by page. Search a rule or a message... and the status filter apply to the whole history. An account limited to certain hypervisors only sees events for its machines.

Receive alerts by email or webhook

The Webhook and Email checkboxes of a rule choose its channels; if none is checked, the rule sends no notification. Each firing and each resolution is also recorded in the important actions log (actions alert.fired and alert.resolved).

The channel must be configured once in Settings > Notifications:

  • Webhook Notifications: Enable Notifications and Webhook URL (JSON payloads are sent via POST; Test button);
  • Email Notifications: Enable Email Notifications, SMTP Host, SMTP Port, Use SSL/TLS, SMTP credentials, Sender Address (From) and Recipients (Comma-separated).

The event lists of these channels also contain events that do not come from alert rules, for example IP Pool Usage High: an IP pool has reached the threshold set in Settings > IPAM (see Network and IPAM). For security and administration, you can also be notified of Login Failed, Account Locked Out, Confirmation Code Refused, User Created, User Deleted, API Token Created, API Token Revoked or Settings Changed; on the infrastructure side, Hypervisor Offline, Hypervisor Back Online, VM Power Action Failed and Integration Sync Failed.

A rule that checks a channel sends its alerts even if Alert Fired / Alert Resolved are not checked in the channel's event lists. Check them in these lists to also receive the alerts of all rules on that channel.

Tip: to test, create a rule with a low threshold (for example CPU > 1%) and the Webhook box checked: the notification goes out at the checker's next pass (5 min by default, Alert Check Interval), or right away with Check now.

View the logs (Logs page)

The Logs page has three tabs:

Tab Source Content
Actions database (audit history) Who did what, on which machine, with what result
Warnings and errors database Server errors and warnings, from all instances
Files (this instance) .log files of the instance answering you The file viewer: detailed console, Packer builds, copies of the logs

The first two tabs read the database: they show the same thing whichever PxVault instance answers you, and they also work when log files are disabled (Docker, Kubernetes).

View actions (Actions tab)

  • Columns Time, Status, By, Action, VMID, Hypervisor, Details, from newest to oldest.
  • The Hypervisor column shows the hypervisor's name (its ID appears on hover). For a hypervisor deleted since, it shows the name recorded at deletion time, otherwise its ID.
  • The Details column summarizes the entry in one line: the message, otherwise the error, otherwise the failing hypervisor and its cause (pvedev: Request timeout), the operation run on a node (self-update (exit 0)), the changed settings or fields, or the first useful values. Click the row to see everything.
  • The By column shows the author: a user, an API key, system (background task: scheduler, reconciler), anonymous (unauthenticated request) or bypass (authentication disabled).
  • Filter by status with All, Started, Success or Failed.
  • The Search actions, users, VMIDs, details... field searches the whole history (not only the loaded rows): action name, user or API key, hypervisor ID, details, or a VM number.
  • A user limited to certain hypervisors or machines only sees the actions that concern them.

What the Actions tab records

Every operation that changes something, or that touches security, leaves a row, whether it succeeds or not. A refused or failed operation appears with the Failed status, the error message and the HTTP code in the Details (for example user.create.failed, ipam.pool.update.failed, vm.power.failed).

Area Example actions
Sign-in auth.login.success, auth.login.failed (password or code refused: step, reason, IP address), auth.login.lockout (account locked), auth.logout, auth.stepup.failed (confirmation code refused)
Accounts and API keys user.created, user.updated (what changed: permissions added/removed, restrictions, status, administrator, password reset), user.deleted, user.2fa.*, api.token.created (permissions granted), api.token.revoked, api.token.purged
Settings settings.updated: the changed sections and settings, with the old and new value, except for a secret (SMTP password, webhook URL, integration keys), shown as "changed" without its value; script.created/updated/deleted for custom scripts
Hypervisors hypervisor.added (manual addition or auto-registration), hypervisor.updated (changed fields), hypervisor.deleted, hypervisor.offline / hypervisor.online (state change detected), SSH enrollment, agent update
Network IP pools, ranges and addresses (including a manual status change), datacenters, firewall rules and options, VPCs (rules, members, floating IPs, port forwards)
Machines start/stop, deletion, renaming, backups, snapshots, restore, password reveal, console opening (including through a shared link), expiration set or removed
Automation recipes, catalogs, blueprints, scheduled tasks (and their manual run), template builds, alert rules
Background tasks vm.cache.sync.failed / vm.cache.sync.recovered, firewall.cache.sync.failed / firewall.cache.sync.recovered, integration.sync.failed / integration.sync.recovered, integration.outbox.dead (integration event abandoned), ipam.reconcile.completed, ipam.auto_reservation.released (automatically reserved addresses returned by reconciliation, one entry per pass), with the system author (see below)

What background tasks record (and why so little)

Background tasks run every few minutes. They only write to the Actions tab what changes, never a report at every pass:

  • VM inventory and firewall sync: when a hypervisor starts failing, one vm.cache.sync.failed (or firewall.cache.sync.failed) row with the hypervisor and the error; as long as it keeps failing, nothing more; when it responds again, one vm.cache.sync.recovered (or firewall.cache.sync.recovered) row. For the firewall, a hypervisor is "failing" when its node firewall cannot be read (host unreachable, token refused); the failure of a single machine remains visible in the Warnings and errors tab. The same rule applies to a cycle that crashes entirely (detail scope: cycle).
  • phpIPAM / PowerDNS sync: one integration.sync.failed row when the automatic sync starts failing, one integration.sync.recovered row when it succeeds again. A manually started sync is always recorded.
  • IPAM reconciliation: ipam.reconcile.completed only if the pass changed something (addresses released, assignments updated), or if it was started manually. Conflicts that persist from one pass to the next remain in the reconciliation report on the IPAM page.

Each failure also remains visible in the Warnings and errors tab (grouped when it repeats), and the full history of each pass can still be viewed in the sync status of the relevant page. The *.failed and *.recovered events can be selected in email and webhook notifications (Settings > Notifications): you are notified once when a hypervisor goes down, once when it comes back.

The node.exec entry (command run as root on a node through the agent) shows the operation (op), the hypervisor, the exit code and the duration; large contents (the agent binary during an update, a recipe's command) only appear as their size. An agent update also writes node.agent.updated, which gives the installed version.

What is never recorded: passwords, one-time codes, API tokens and keys, private keys, webhook URLs, script contents.

Permission denials and rejected API keys are logged in the Warnings and errors tab, not here: a tool that repeatedly queries a forbidden function would flood the history.

View warnings and errors (Warnings and errors tab)

  • Columns Time, Level, Instance (the PxVault instance that hit the error), Source (the component: vm-cache, ipam, db-retention, etc.), Message, Details.
  • Filter by level with All, Warnings or Errors, then by Source or by Instance (each filter opens a searchable list). Clear removes the filter.
  • The Search messages... field searches the text of the messages.
  • Only warnings and errors are stored in the database; detailed logs (info, debug) stay on the console output. Identical consecutive errors are grouped on one row (the repeated detail says how many). Passwords, tokens and keys are masked before being stored.
  • Reserved for accounts without instance restrictions: a user limited to part of the fleet gets a denial.

In both tabs: click a row to see its JSON; Load older logs goes back in time (1,000 rows at most: beyond that, refine the filters); Refresh reloads the list.

Read log files (Files (this instance) tab)

This tab shows the .log files of the instance that answered your request. With several instances, each one only has its own share: use the Actions and Warnings and errors tabs instead, or your platform's log collector. The left panel groups the files:

Group File Content
Core Logs important-actions.log Readable audit log: who did what, on which machine, with what result
errors.log Server errors and warnings
packer-builds.log Packer template builds
Application Logs app-AAAA-MM-JJ.log Server console output, one file per day

Each file opens in a tab; the most recent one is shown first. important-actions.log and errors.log are local copies of what the Actions and Warnings and errors tabs read from the database.

  • Click a row to see its JSON or its Raw line.
  • The Search... field filters the loaded rows. Check Search entire file to search the whole file (1,000 results at most).
  • Load older logs goes back in time; Fullscreen view enlarges the tab.

When log files are disabled (LOG_TO_STDOUT_ONLY=true), the tab says so instead of showing an empty list.

Purge log entries (Purge… button)

The Actions and Warnings and errors tabs have a Purge... button, visible only with the log administration permission (logs:admin). It permanently deletes from the database the entries that meet all the chosen criteria:

Tab Available criteria
Actions Older than N days; All entries of this action, whatever their age (e.g. vm.cache.sync.partial)
Warnings and errors Older than N days; Level (warnings or errors); Source
  1. Filter or click a row first: the window picks up the action of the selected row (or a search that is an action name), and the filtered level and source.
  2. Choose at least one criterion: without a criterion, nothing can be purged; there is no "delete everything".
  3. The window shows the number of matching entries. Click Purge..., then confirm: the confirmation repeats this number and, if the Purge logs rule of enhanced 2FA is active (it is by default), asks for your code.

The purge is itself recorded in the Actions tab (logs.purged, with the target tab, the criteria and the number of deleted entries), and this row is written after the deletion: it cannot erase itself. An account limited to part of the fleet cannot purge. A purge handles at most 1,000,000 entries; beyond that, a message invites you to run it again.

To automate the same operation: POST /api/logs/purge (see the API documentation, /docs), with dryRun: true to count without deleting.

Warning: a purge cannot be undone. To limit the size of the logs over time, set their retention instead (below).

Clean up a log file

The Cleanup 7d+ button (reserved for log administrators) archives the displayed file if it contains entries older than 7 days: it is renamed with a timestamp and a new file starts. Archives older than 7 days are deleted.

Warning: this action is destructive for old archives. The audit history stored in the database is not affected.

Where logs are stored

Item Location or setting
Log directory LOG_DIR variable, otherwise Settings > System > Logs Configuration > Log Directory Path, otherwise /var/log/pxvault; if the chosen folder is not writable, falls back to the logs folder of the backend's launch directory
Retention of app-AAAA-MM-JJ.log LOG_RETENTION_DAYS variable, otherwise Retention Period (same screen), otherwise 7 days; 0 = unlimited retention
Audit history in the database Settings > System > Logs Configuration > Audit trail retention (Actions tab), 180 days by default; the RETENTION_ACTION_LOG_DAYS variable, if set, takes precedence; 0 = unlimited retention
Warnings and errors in the database Warnings and errors retention (30 days by default) and Warnings and errors: maximum entries (50,000 by default), same screen; the RETENTION_APP_LOG_DAYS and RETENTION_APP_LOG_MAX_ROWS variables take precedence; 0 disables the corresponding limit

Database log retention is applied by a background task (every 6 hours by default, RETENTION_INTERVAL_MS variable), which rereads the settings at each pass: no restart is needed.

The path entered in the Settings must point to a dedicated folder (last folder named logs or containing pxvault). The retention of app-*.log files is read when the backend starts: restart it after changing the Retention Period. The important-actions.log and errors.log files are not purged automatically; use Cleanup 7d+.

Important: with Docker Compose or Kubernetes, log files are disabled (LOG_TO_STDOUT_ONLY=true): the Files (this instance) tab has nothing to show, but the Actions and Warnings and errors tabs work normally, since they read the database. Detailed console logs can be viewed with docker compose logs backend or kubectl logs; with several instances, centralize them with your platform's log collector. See Operations.