Corsinvest.ProxmoxVE.Metrics.Exporter.Api 1.4.1

.NET Standard 2.1
Install-Package Corsinvest.ProxmoxVE.Metrics.Exporter.Api -Version 1.4.1
dotnet add package Corsinvest.ProxmoxVE.Metrics.Exporter.Api --version 1.4.1
<PackageReference Include="Corsinvest.ProxmoxVE.Metrics.Exporter.Api" Version="1.4.1" />
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.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Corsinvest.ProxmoxVE.Metrics.Exporter.Api, 1.4.1"
#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.1

// Install Corsinvest.ProxmoxVE.Metrics.Exporter.Api as a Cake Tool
#tool nuget:?package=Corsinvest.ProxmoxVE.Metrics.Exporter.Api&version=1.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 and License

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 net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
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.1 73 5/30/2022
1.4.0 133 1/19/2022
1.3.1 191 7/25/2021
1.3.0 155 4/29/2021
1.2.4 310 10/12/2020
1.2.3 265 9/28/2020
1.2.2 312 8/24/2020
1.2.1 328 7/30/2020
1.2.0 299 7/17/2020
1.1.1 295 7/14/2020
1.1.0 302 6/25/2020
1.0.0 303 6/24/2020