Corsinvest.ProxmoxVE.Diagnostic.Api 2.8.0

dotnet add package Corsinvest.ProxmoxVE.Diagnostic.Api --version 2.8.0
                    
NuGet\Install-Package Corsinvest.ProxmoxVE.Diagnostic.Api -Version 2.8.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Corsinvest.ProxmoxVE.Diagnostic.Api" Version="2.8.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Corsinvest.ProxmoxVE.Diagnostic.Api" Version="2.8.0" />
                    
Directory.Packages.props
<PackageReference Include="Corsinvest.ProxmoxVE.Diagnostic.Api" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Corsinvest.ProxmoxVE.Diagnostic.Api --version 2.8.0
                    
#r "nuget: Corsinvest.ProxmoxVE.Diagnostic.Api, 2.8.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Corsinvest.ProxmoxVE.Diagnostic.Api@2.8.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Corsinvest.ProxmoxVE.Diagnostic.Api&version=2.8.0
                    
Install as a Cake Addin
#tool nuget:?package=Corsinvest.ProxmoxVE.Diagnostic.Api&version=2.8.0
                    
Install as a Cake Tool

<img src="icon.png" alt="" height="36" align="top"> cv4pve-diag

     ______                _                      __
    / ____/___  __________(_)___ _   _____  _____/ /_
   / /   / __ \/ ___/ ___/ / __ \ | / / _ \/ ___/ __/
  / /___/ /_/ / /  (__  ) / / / / |/ /  __(__  ) /_
  \____/\____/_/  /____/_/_/ /_/|___/\___/____/\__/

Diagnostic Tool for Proxmox VE (Made in Italy)

License Release Downloads NuGet WinGet AUR

Health checks and diagnostics for Proxmox VE: reads your whole cluster through the API and tells you what is wrong.

Documentation

Prefer a web interface with scheduled runs? cv4pve-diag also runs inside cv4pve-admin, as its Diagnostics module.


Why

A Proxmox VE cluster rarely breaks all at once: it drifts. A disk gets excluded from backup, a snapshot is forgotten for months, a node keeps running the old kernel after an update, root@pam has no second factor, an HA guest has no replica to fail over to. Nothing in the web UI shows these problems across the cluster: you find out during a restore, a failover or an audit.

cv4pve-diag reads the whole cluster and lists them in one report: 170+ checks on cluster, nodes, storages, VMs and containers, each finding with a stable code, a severity and the resource it concerns.

It runs outside the nodes and uses only the Proxmox VE API: nothing to install on the cluster, no SSH, no root shell.


What the report looks like

| Id                           | Code   | Description                                                                                        | Context | SubContext | Gravity  |
|------------------------------|--------|----------------------------------------------------------------------------------------------------|---------|------------|----------|
| access/users/root@pam        | CC0004 | root@pam has no TFA configured: full access protected only by password                             | Cluster | Access     | Critical |
| nodes/pve02/qemu/203         | CG0002 | Disk 'scsi0' disabled for backup                                                                   | Qemu    | Backup     | Critical |
| nodes/pve01                  | WN0013 | Node requires reboot: running kernel '6.8.12-20-pve' but newer kernel '6.8.12-43-pve' is installed | Node    | Reboot     | Warning  |
| nodes/pve01/storage/pbs01    | WS0009 | Storage usage 80% - 2.58 TB of 3.22 TB                                                             | Storage | Usage      | Warning  |
| nodes/pve01/storage/datapool | WS0002 | Image Orphaned 51.54 GB file vm-106-disk-1                                                         | Storage | Image      | Warning  |
| cluster                      | IC0002 | No HA resources configured: VMs will not automatically restart on node failure                     | Cluster | HA         | Info     |

Rows are sorted by severity. Every code is explained in the checks catalog.


Compliance evidence

100+ findings are tagged with the controls they relate to. Run it with --compliance=Nis2 (or any of 18 frameworks) and the report keeps only the findings that matter for that standard, each with its control in a ControlId column: a report you can hand to an auditor, produced from the cluster itself.

| Id                    | Code   | Description                                                                                        | Gravity  | ControlId |
|-----------------------|--------|----------------------------------------------------------------------------------------------------|----------|-----------|
| access/users/root@pam | CC0004 | root@pam has no TFA configured: full access protected only by password                             | Critical | Art.21(j) |
| nodes/pve02/qemu/203  | CG0002 | Disk 'scsi0' disabled for backup                                                                   | Critical | Art.21(c) |
| nodes/pve01           | WN0013 | Node requires reboot: running kernel '6.8.12-20-pve' but newer kernel '6.8.12-43-pve' is installed | Warning  | Art.21(e) |
| cluster               | IC0002 | No HA resources configured: VMs will not automatically restart on node failure                     | Info     | Art.21(c) |

(Context and SubContext columns left out here for width.)

ISO 27001 · NIS2 · NIS2 Implementing Regulation · ACN NIS2 Italy · DORA · PCI DSS · GDPR · AgID · ENS · BSI C5 · BSI IT-Grundschutz · ISO 22301 · SOC 2 · NIST 800-53 · ISO 27017 · ISO 27018 · CIS · NIST CSF: see the compliance mapping.


Features

  • Every format: Text, HTML, Excel, JSON, Markdown.
  • Profiles: --fast for a quick scan of a large cluster, --full for audits: every optional check, passing checks too.
  • Ignore rules: hide the findings you have accepted, and still show them for review when you want.
  • CVE lookup: optional NVD check of the installed Proxmox VE version.
  • Honest about what it cannot see: checks the token's privileges first and says in the report what the analysis does not cover.
  • Keeps running with a node down: give it more than one host and it uses the first that answers.

Quick start

# Windows
winget install Corsinvest.cv4pve.diag

# Linux (other platforms and packages: see the documentation)
wget https://github.com/Corsinvest/cv4pve-diag/releases/latest/download/cv4pve-diag-linux-x64.zip
unzip cv4pve-diag-linux-x64.zip && chmod +x cv4pve-diag

# Run against any node of the cluster, with an API token
./cv4pve-diag --host=pve01 --api-token='diag@pve!audit=<uuid>' execute

The API token needs the privileges listed in Permissions: note that PVEAuditor alone cannot see backups.


Documentation

Getting started Install, connect, run
Permissions Creating the user and API token, required privileges
Reading the report Columns, severities, output formats, Excel
Checks Every check with code, severity and meaning
Settings Thresholds, profiles, performance, CVE lookup
Ignore rules Silence findings you have accepted
Compliance Framework mapping and auditor reports
AI assistants Claude Code, Codex, the cv4pve-diag skill
Troubleshooting See what the tool is doing when something goes wrong

Use cv4pve-diag to know what is wrong, cv4pve-report to know what you have. The whole suite: corsinvest.it/cv4pve.


Support

Professional support and consulting available through Corsinvest.


By sysadmins, for sysadmins.

Part of cv4pve suite | Made with ❤️ in Italy by Corsinvest

Proxmox® is a registered trademark of Proxmox Server Solutions GmbH. cv4pve is developed by Corsinvest and is not a Proxmox product.

Copyright © Corsinvest Srl

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Corsinvest.ProxmoxVE.Diagnostic.Api:

Repository Stars
Corsinvest/cv4pve-admin
Web management platform for Proxmox VE clusters: like vCenter but for Proxmox
Version Downloads Last Updated
2.8.0 354 10/7/2026
2.7.0 184 9/28/2026
2.6.0 115 9/24/2026
2.5.0 131 9/22/2026
2.4.0 334 6/1/2026
2.3.0 212 5/27/2026
2.2.4 163 5/14/2026
2.2.3 150 5/13/2026
2.2.2 219 4/18/2026
2.2.1 166 4/17/2026
2.2.0 148 4/13/2026
2.1.0 167 4/8/2026
2.0.3 167 4/3/2026
2.0.2 181 3/25/2026
2.0.1 172 3/21/2026
2.0.0 158 3/20/2026
1.10.0 218 3/2/2026
1.9.1 303 2/13/2026
1.9.0 235 12/12/2025
1.8.0 412 3/21/2025
Loading failed