ComputerScienceHouse / ComputerScienceHouse/proxstar

Keep track of VNC sessions via UPID

Offen
#153 1 Kommentar 0 Reaktionen 1 zugewiesene Person Beansprucht von @WillNilges Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
31
Forks
25
Ø Merge
5 Std. 32 Min.
Gemergte PRs (30 T.)
1

Beschreibung

The VNCProxy route gives back a UPID for a given task---including VMs
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/qemu/{vmid}/vncproxy

And then you can use the API to monitor the status. Perhaps, if we store the UPIDs of the VNC sessions, then once per minute or so, we check the status of all of them (might have to throttle if the API gets sad), and then use that to remove Websockify targets.
https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/tasks/{upid}/status

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.