Corsinvest.ProxmoxVE.Metrics.Exporter.Api 1.4.2

.NET 6.0
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, C# scripting and .NET Interactive. 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 Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.2 200 9/14/2022
1.4.1 181 5/30/2022
1.4.0 243 1/19/2022
1.3.1 245 7/25/2021
1.3.0 210 4/29/2021
1.2.4 382 10/12/2020
1.2.3 331 9/28/2020
1.2.2 377 8/24/2020
1.2.1 401 7/30/2020
1.2.0 357 7/17/2020
1.1.1 360 7/14/2020
1.1.0 361 6/25/2020
1.0.0 364 6/24/2020