Corsinvest.ProxmoxVE.Metrics.Exporter.Api 1.4.2

dotnet add package Corsinvest.ProxmoxVE.Metrics.Exporter.Api --version 1.4.2
NuGet\Install-Package Corsinvest.ProxmoxVE.Metrics.Exporter.Api -Version 1.4.2
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.Metrics.Exporter.Api" Version="1.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Corsinvest.ProxmoxVE.Metrics.Exporter.Api --version 1.4.2
#r "nuget: Corsinvest.ProxmoxVE.Metrics.Exporter.Api, 1.4.2"
#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.
// Install Corsinvest.ProxmoxVE.Metrics.Exporter.Api as a Cake Addin
#addin nuget:?package=Corsinvest.ProxmoxVE.Metrics.Exporter.Api&version=1.4.2

// Install Corsinvest.ProxmoxVE.Metrics.Exporter.Api as a Cake Tool
#tool nuget:?package=Corsinvest.ProxmoxVE.Metrics.Exporter.Api&version=1.4.2

cv4pve-metrics-export

License

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

Metrics Exporter for Proxmox VE         (Made in Italy)

Usage: cv4pve-metrics-exporter [command] [options]

Options:
  -?|-h|--help      Show help information
  --version         Show version information
  --host            The host name host[:port],host1[:port],host2[:port]
  --api-token       Api token format 'USER@REALM!TOKENID=UUID'. Require Proxmox VE 6.2 or later
  --username        User name <username>@<realm>
  --password        The password. Specify 'file:path_file' to store password in file.

Commands:
  app-check-update  Check update application
  app-upgrade       Upgrade application
  prometheus        Export for Prometheus

Run 'cv4pve-metrics-exporter [command] -?|-h|--help' for more information about a command.

cv4pve-metrics-exporter is a part of suite cv4pve-tools.
For more information visit https://www.cv4pve-tools.com

Copyright: Corsinvest Srl For licensing details please visit LICENSE.md

Commercial Support

This software is part of a suite of tools called cv4pve-tools. If you want commercial support, visit the site

Introduction

Metrics Exporter for Proxmox VE.

this software export metrics from Proxmox VE.

Main features

  • Completely written in C#
  • Use native api REST Proxmox VE (library C#)
  • Independent os (Windows, Linux, Macosx)
  • Installation unzip file extract binary
  • Not require installation in Proxmox VE
  • Execute out side Proxmox VE
  • Use Api token --api-token parameter
  • Execution with file parameter e.g. @FileParameter.parm

Api token

From version 6.2 of Proxmox VE is possible to use Api token. This feature permit execute Api without using user and password. If using Privilege Separation when create api token remember specify in permission.

Configuration

E.g. install on linux 64

Download last package e.g. Debian cv4pve-metrics-exporter-linux-x64.zip, on your os and install:

root@debian:~# unzip cv4pve-metrics-exporter-linux-x64.zip

This tool need basically no configuration.

root@debian:~# cv4pve-metrics-exporter --host=192.168.0.100 --username=root@pam --password=fagiano prometheus

Corsinvest for Proxmox VE
Cluster: 192.168.0.100 - User: root
Exporter Prometheus: http://localhost:9221/metrics/
Export Node Disk Info: False

Prometheus

For Prometheus are available more parameters:

--http-host       Http host (default: localhost)
--http-port       Http port (default: 9221)
--http-url        Http url (default: metrics/)
--prefix          Prefix export (default: cv4pve)
--node-disk-info  Export disk info (disk,wearout,smart)
                  Require more time

Execution with file parameter

Is possible execute with file parameter

root@debian:~# cv4pve-metrics-exporter @FileParameter.parm

File FileParameter.parm

--host=192.168.0.100
--username=root@pam
--password=fagiano
prometheus
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
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.Metrics.Exporter.Api:

Repository Stars
Corsinvest/cv4pve-admin
Corsinvest for Proxmox VE Web Admin Clusters - vCenter but for Proxmoxm VE
Version Downloads Last updated
1.4.2 675 9/14/2022
1.4.1 410 5/30/2022
1.4.0 471 1/19/2022
1.3.1 340 7/25/2021
1.3.0 292 4/29/2021
1.2.4 470 10/12/2020
1.2.3 430 9/28/2020
1.2.2 471 8/24/2020
1.2.1 498 7/30/2020
1.2.0 432 7/17/2020
1.1.1 454 7/14/2020
1.1.0 460 6/25/2020
1.0.0 464 6/24/2020