api

  1. View total number of running VM/LXC

    Hi, How can I view the total of machines running with API? I'm trying to reach the values here; I couldn't find it in the APIs document.
  2. proxmoxer.core.ResourceException: 500 Internal Server Error

    Hi all, I have a well running python script to deploy KVM VMs with personal permissions and automatically naming. After a PVE update (3 or 4 months ago) I got this error message: raceback (most recent call last): File "/usr/local/bin/clone_template_linked.py", line 118, in <module>...
  3. Question about choosing Proxmox (API + Shared storage)

    Hello. We are in the process of rebuilding our virtualization infrastructure to 4 servers and a SAN shared storage (iSCSI over 10Gbps) but we are not sure of what to use, we are hesitating between Hyper-V (Without SCCM) or Proxmox VE. We will have a mix of Windows and Linux virtual machines...
  4. pvedaemon (API) becomes slow (optimization tips?)

    Hi there, we are hosting thousands of CTs on proxmox using your API. From time to time it seems like pvedaemon worker processes get stucked. I see 3x pve daemon worker process with 100% each permanent. When I kill them and restart the pvedaemon service, they run smooth again on 10-40% cpu...
  5. About the Proxmox VE API documentation

    Hey all, I'm starting to develop a middleware to interact with a proxmox installation so I need to work with the API. Unfortunately, the only two resources I found about it were the wiki (pve.proxmox.com/wiki/Proxmox_VE_API) and the API viewer (pve.proxmox.com/pve-docs/api-viewer/index.html)...
  6. NAT config

    For some reason the NAT config has been removed from the Web interface and is only available in CLI or the API ("This mode is only available via CLI or the API, but not via the WebUI."). In my opinion this is a very bad decision, because I (and I think allot of other people too) use this...
  7. Use Api to monitor ZFS Replication

    Hello, can i monitor the replication status in a cluster using Proxmox API ? Thanks!
  8. [SOLVED] API Changelog

    I have written a python wrapper for pvesh that integrates with Salt-Stack (not Salt Cloud). Going forward, I need to establish a review process for new releases of Proxmox VE so that API changes can be identified before we apply updates. I've looked through the pve-docs distributed with Proxmox...
  9. Disk Utilization API in Proxmox 5.1

    Hi, My developer says that the disk utilization is broken and returns 0 for KVM anybody who can throw light so that we can get this working ? Regards Arpan
  10. API: Cannot add IPSet

    I'm trying to add a subnet to an existing IPSet of an existing VM via the API. According to the docs (https://pve.proxmox.com/pve-docs/api-viewer/index.html) the correct command would be: pvesh set /nodes/{node}/qemu/{vmid}/firewall/ipset/{name}/{cidr} But this command doesn't work (node and...
  11. Connection problem noVNC (API)

    Hello, I'm trying to run noVNC using php. I use the call: /nodes/{node}/qemu/{vmid}/vncproxy I receive the ticket correctly. On the second call I pass the previous ticket along with the port: /nodes/{node}/qemu/{vmid}/ vncwebsocket In this call it does not return anything. I have tried to...
  12. Custom Variables Tab in VM, Template, Container, Host, Storage etc.

    Hello, Is there a possibility to define variable, that is accessible by proxmox API in each object type like VM, Template, Container, Host or Datastore? If no, simple tab with key and value added to all objects in proxmox gui will be awesome, because this will allow to build extensions for...
  13. [SOLVED] Proxmox PHP API - Create lxc container.

    Hello, I have a problem with creation of LXC container via PHP. API is connectig correctly with pve, because i can start / stop existing container, i am able to list nodes, and check what VIM is next. but while creating LXC i receive bool(false) value. My code look's like that: <?php require...
  14. Authentification to Proxmox VE with API

    Hello guys, I'm trying to use Proxmox API in order to manage my nodes cluster from another server. I read the Proxmox VE wiki but I'm getting an issue with authentification part of Proxmox API. I'm using proxmoxer and Python. I wrote this : #!/usr/bin/python3 from proxmoxer import...
  15. [SOLVED] Is API Access restricted via v5.1-40?

    Hello, Has the API login been changed with the latest update? I was login with version 5.1-38 but I upgraded to v5.1-40 and I lost access with the API. I restarted the server but It did not work.
  16. API v2.0 problem adding users

    I'm trying to add users to a Proxmox cluster using Proxmoxer and Python 2.7, but the API is giving me an error. I've Googled and played around, but can't figure it out. Help? Here's the HTTP transaction. POST /api2/json/access/users HTTP/1.1\r Host: 172.25.20.44:8006\r Connection...
  17. VM Create/Edit/Delete with API

    Hello How I can create/edit/delete VM with API way? I reviewed the API Documentation but I couldnt find it. Is this possible? If yes, what is the API call to do it? Thank you.
  18. Feature request- add user supplied config lines for ct.conf via api

    Apologies if this already exists and I'm not able to comprehend the docs. I'd like to have the option to add user supplied arguments to ct.conf files at deployment via api; eg, add process limits lxc.cgroup.pids.max, etc.
  19. API Questions

    Hello, I'm currently working on an API client in Go as well as a Terraform provider, and I have a few questions regarding the API: The API wiki mentions the use of JSON Schema, however I haven't been able to find any information on the schema files themselves. Are they publicly available...
  20. Release of ProxmoxVE Client Api ,Net/Php/Java

    Hello everyone, I created from documentation the Client Api in 3 languages. For now, supported languages are .Net, Php, Java. For details see: https://github.com/EnterpriseVE/eve2pve-api-dotnet https://github.com/EnterpriseVE/eve2pve-api-php https://github.com/EnterpriseVE/eve2pve-api-java...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE and Proxmox Mail Gateway. We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!