Hi.
I'm trying to write a script to calculate the sizes of the VM's disks in order to create an automated report of vm consumption (with cpu/ram/disk). With /api2/json/cluster/resources I only get the boot disk size which is not enough.
The idea is to get the data from API and insert it into a...
Hi,
through pvesh get /cluster/resources it is easy to pick up the info I need for our backoffice. Except for 1 thing... if a VM has more than 1 virtual disk assigned, I'd like to get info (path, size etc) from all disks, not an aggregate.
Am I blatantly overlooking the info or is that not...
Hi,
I'm trying to build a 5-node cluster (which will be expanded in the future) and a Python wrapper for PVE API to create/delete VMs/CTs.
From my understanding, I need to send the API request to one of my HVs/nodes in the cluster.
But what if that specific HV is down? How can I make this...
Servus zusammen,
ich teste gerade den Proxmox-VM-Server und den Backup-Server.
Was mir noch wichtig wäre ist, dass wir die Backups monitoren können...
Wir nutzen als Monitorings-Software die Riversuite von Riverbird.
Riverbird hat mir nur ein Standard-Skript gegeben (Powershell) das die...
HI!
I was trying to find out which pool is connected to a VM-ID by searching with the VM-ID. In theory I should be able to use the /api2/json/pools API call to return the pool-id and the data of it's members, where I could find the VM-ID and backtrace it to the pool. The documentation states...
HI!
I was trying to find out which pool is connected to a VM-ID by searching with the VM-ID. In theory I should be able to use the /api2/json/pools API call to return the pool-id and the data of it's members, where I could find the VM-ID and backtrace it to the pool. The documentation states...
Hey,
I'm trying to create a tool to manage user permissions on a PVE Environment. For that my initial idea was to use a service user with an API token to do that.
When trying to use the /access/password endpoint with that token I get the following error: 403 Permission check failed (URI...
Hello,
I want to use proxmox API with nodejs. I read this: https://pve.proxmox.com/wiki/Proxmox_VE_API#NodeJS and I decided to use https://www.npmjs.com/package/proxmox
(doc is here: https://github.com/ttarvis/node-proxmox#readme). I don't know why but I have this error:
token.CSRF =...
After migrating servers from PVE A to PVE B maybe the original storage from the PBS QEMU Server Config is not existing on the new server.
While trying to restore this backup perfectly works from Proxmox GUI PBS Storage view.
Example:
API POST Request to /api2/json/nodes/nodeXX/qemu
Parameters...
We're trying to install a new software to backup our proxmox vitrual machines. We're using Vprotect (Dell solutions) to backup those vm.
The problem is that when we try to run the software, sometimes we get this error:
API:
ExternalAPIException: Failed to execute remote command: [LC_ALL=C...
Hello, could you pls help me with network configuration of Ubuntu 20.04 VM via Rest API ? I need to permanently set IP for network interface ens18, tried it like this:
1) curl POST api2/json/nodes/<node_name>/qemu/<vm_id>/config {"ipconfig0"...
Hi everyone,
I'm looking for a method to put a virtual machine into a backup state on Proxmox, allowing me to safely copy its files without interrupting its operation. I prefer to avoid using the default dump tool or backup utility, as I intend to create my own backup solution.
If anyone has...
I just started using/exploring the Corsinvest.ProxmoxVE.Api module (https://github.com/Corsinvest/cv4pve-api-powershell) to automate getting VM inventory.
I connect with :
Connect-PveCluster -HostsAndPorts $server:8006 -ApiToken $token -SkipCertificateCheck
Is there a way to disconnect...
Hi everyone,
I'm currently exploring the capabilities of the Proxmox API and wondering if it's possible to enumerate the files of a Proxmox virtual machine (VM). Specifically, I'm not looking to access files within the VM but rather to obtain a list of files that make up the VM itself.
Has...
Hello,
i tried to implement the shutdown api call into a python program but i have no idea how to properly build the syntax.
The command runs fine on linux bash but i cannot find suitable arguments for python.
curl 'https://myhost.local:8006/api2/extjs/nodes/myhost/status' -H 'Authorization...
Hi,
I'm trying to upload an image via ProxmoxVE API but cannot find a way to pass the local path of the .iso file. After reading the documentation, I could not determine which argument is used for the local path. I would appreciate a little help.
Cheers
Hallo zusammen,
meine Frage ist, ob es eine Möglichkeit per Proxmox Rest API alle hinterlegten IP Adressen im Cluster zu erhalten.
Liebe Grüße und guten Rutsch!
Hey guys,
I've had this problem back in 2022 but the fix that someone gave me doesn't work anymore. Also reastarting the Server doesn't change anything.
Getting the 596 broken Pipe error always happens when using a API call involving the guest agent. For Example...
Hi there,
Just comparing the attached realities of what is reflected for an OK action and then a not-OK action, there are a few things I'm curious about:
Rather than just firing and hoping that if the request went through OK, that it is actually OK, we need to know the error/status.
Comparing...
Hello I've read through all threads regarding novnc integration with external program. Still I am unable to do it. Is there any proper thread links or external blogs that could help me?
Also I'm getting the CORS issue. I know pveproxy is responsible for allowing hosts, I tried editing the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.