api

  1. M

    Need some guidance with Proxmox

    Hi, I am completely new to Promox. I am normally backend Web/App developer, but currently got into situation where I need to use Proxmox. I know that there are resources out there, however I would like to ask some basic questions. -- Sadly I am constrained deeply with time, so that's why I...
  2. G

    I need a script that moves OVH IP blocks - Paid work

    I have servers at OVH and I need a script that changes the routing on IP blocks when a VM is fenced. I was going to hire a developer to make this but it makes sense to offer the work to someone here. There will be people here that already have this. The script would need to send the relevant...
  3. V

    Proxmox API - get Console working

    Hi, I'm using Proxmox VE 7.0 and I'm trying to write my own GUI interface. I have Proxmox on the local machine with Nginx proxy with SSL. Everything going well, all API endpoints are well documented and working fine, but I'm stuck on to get noVNC console to work. ---------- For auth I'm...
  4. P

    API ticket 401 authentication failure

    Virtual Environment 7.1-7 I use curl to access the PVE API, yesterday I could get a ticket normally, but today I can only get a null every time I access it, the command I use is: (There is no error in the password) output: * Trying 192.168.1.100... * TCP_NODELAY set * Connected to...
  5. J

    Connecting to Proxmox VMs In Java

    Hello! To start off, I am COMPLETELY new to Proxmox. I got through the installation, and it seems pretty intuitive to setup a new virtual machine on PVE (I have some experience with vSphere). What I'm looking for help with is connecting to a virtual machine in a Proxmox server with VNC and...
  6. A

    [SOLVED] Using Packer to deploy Ubuntu 20.04 to Proxmox

    DISCLAIMER I am not sure if this is even "the right" place for this, but it seems like a great place to start. This mostly relates to the Proxmox API and how VMs are actually created, so if you have any deep knowledge or even just a bright idea I might've missed, shoot it my way :) Problem...
  7. G

    Monitoring (nagios) Proxmox Cluster logs

    Hi! We make monitoring tools for Proxmox. We want to monitor the status of the logs. it's simple using an API. example: pvesh get /cluster/log But no documentation was found for the output...
  8. C

    Update HA Groups from API

    Hi folks. Is it possible to edit an HA Group from the API? I can GET all groups from /api2/json/cluster/ha/groups, but I can't seem to PUT a different value for nodes with it, as it just complains that it's not implemented. Basically, what I'd like to achieve is a way of editing a group so I...
  9. M

    api limitations to root@pam

    Hi, we currently try to deploy several lxc containers that require a hookscript via API (using salt-cloud). basically everything is working as long as we are using the root@pam user. due to security reasons we'd like to avoid using the root user for automated 'actions'. so, right now we patch...
  10. G

    [SOLVED] Best way to detect what node a VM is moved to (HA)

    Hii everyone, So iv been playing about with HA on some OVH servers. It works but I need to code a script to point the VMs IP to the new node when they are moved. (I do not have access to vrack) . I'm wondering what the best way to do this is. I could write a function to query the Proxmox API...
  11. J

    Upload custom cert via Proxmox API?

    I have pre-existing infrastructure which registers and updates TLS certificates for organization's sites via Lets Encrypt. I'd like to use this infrastructure to automatically push a new certificate to my various Proxmox VE nodes via the Proxmox API...
  12. M

    Proxmox API Execute

    Hallo, wie benutzt man „execute“ bei der Proxmox API könnte einer mir ein Beispiel bitte schicken. Danke! Mit freundlichen Grüßen Timo Otten
  13. J

    Stability of API Endpoints not in Documentation

    I'm quite familiar with the API Viewer website and at least the basics of many of the endpoints. However, in the course of using the WebUI there are some (or at least one) endpoints that do not appear in the API Viewer. For example, the /nodes/{node}/query-url-metadata endpoint is used by the...
  14. F

    pmgsh get /quarantine/blacklist all email list

    Good afternoon, I ran into the problem of displaying a list via api, how is this possible to implement? pmgsh get /quarantine/blacklist all email list ???
  15. R

    [SOLVED] Proxmox API?

    Hi folks, I`m new there, just want ask does proxmox have some kind of API for managing virtual machines? Like create\destroy, power on\off, maybe change settings, etc... ?
  16. Q

    [SOLVED] File Restore via Api

    Hi, Is there a way to list and download all files from a backup via the Api. I need a list of the files in the backup not the backup file itself. Thanks for the answer in advance
  17. powersupport

    How the API works for real time data

    HI, May I know if we can use the Proxmox API to get real-time live resource usage for the VMs and nodes as attached https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/qemu/{vmid}/rrddata
  18. H

    Generate user ticket without their password

    It it possible over the API or CLI to generate a user's ticket without their password as an admin/root user? I'm working on a custom SSO for proxmox that would in the background generate a ticket for you then add it to your cookies so you never see a proxmox login page.
  19. gurubert

    PVE Cluster Service IP

    I would like to ask for a new feature: Service IP for a PVE cluster. I.e. the Proxmox cluster manager should be able to configure an IP address that is always active on one of the nodes (maybe the cluster leader). This would make it easier for automated tools to talk to the API. In case of a...
  20. Q

    [SOLVED] Proxmox HTTP API Create a new VM with SCSI

    Hi, I'm trying to create a new VM with the API per Post Request. This also worked until I wanted to add a drive via SCSI. For this I have sent this data: ... "&scsi0=moxx01:vm-103-disk-0,discard=on,iops_rd=500,iops_wr=500,size=50G,ssd=1" ... { "data":null, "errors":{...