Skip to main content

A CLI utility to return various info from the Proxmox API.

Project description

proxmox-info

A CLI utility to return various info from the Proxmox API.

Currently, it only reports storage vs machines info.

Table of contents

Purpose and uses

Ever needed to get a list of VMs or containers per datastore?

Why? Perhaps you need to shutdown that storage for maintenance, upgrades etc., and need to move all running machines off it (a la vSphere storage vMotion).

Then this is the tool for you.

Screenshots

This is the default view:

screenshot

This is in tree view:

screenshot

Installation

The recommended way to install proxmox-info is to use pipx.

After getting pipx installed, simply run:

username@proxmox:~$ pipx install proxmox-info

Please don't use pip system-wide.

You can of course also install it using classic virtualenvs.

Configuration

Overview

proxmox-info is configured with a YAML-style file. An example:

host: zzz
user: zap
password: some_password

Location

The default location for the configuration is /etc/proxmox_info.yml, or proxmox_info.yml in the current working directory, but this can also be specified on the commandline.

If a non-absolute path is given, Dynaconf will iterate upwards: it will look at each parent up to the root of the system. For each visited folder, it will also try looking inside a /config folder.

Supported versions

proxmox-info supports the following VE versions:

VE version Debian version Python version VE EoL
8 12 (Bookworm) 3.11 TBA
7 11 (Bullseye) 3.9 2024-07

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proxmox_info-1.0.5.tar.gz (242.4 kB view details)

Uploaded Source

Built Distribution

proxmox_info-1.0.5-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file proxmox_info-1.0.5.tar.gz.

File metadata

  • Download URL: proxmox_info-1.0.5.tar.gz
  • Upload date:
  • Size: 242.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for proxmox_info-1.0.5.tar.gz
Algorithm Hash digest
SHA256 a6e00151c0cce21a8bc623fb8fc863aa98e9fe3f27da45537b0a5c0537fd1ca8
MD5 3958969ffd34bb7c608a5703830a797b
BLAKE2b-256 9fc7a01c62240a6db693fb89a5f583762ac58f574ee49745db0fe4d06b4d1674

See more details on using hashes here.

File details

Details for the file proxmox_info-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: proxmox_info-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.13.0

File hashes

Hashes for proxmox_info-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4d59727438e053de58f64bac32ccc21cb7c146f6962d671725ab1566ec4f1cc1
MD5 391c49579adaef611d362e02f0115a03
BLAKE2b-256 bfd0652ed1a5d915eb8c6b2c3fcd416e292e3c422dd224424d12455a3602ef8c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page