Control panel for vps user

AntoWkill

Member
Jul 31, 2013
73
1
6
Hello,
today i try to create an Control Panel for each VPS where users can enter and manage their vps. Each user have database account with VMID
I have create stop / start / shutdown button with php code (script login in ssh and execute command: qm start /stop /shutdown [VMID on database]). But i need to insert in this panel the Statics of vps like: ram usage, internet using, disc io etc. I have found the link of the image of the statics but for see it every user need to be login in proxmox server or user can't see banner. I have try to do script login in server with a curl but login do succefull but the image not see yet. How i can do visible the banner of statistics? and other features? Thanks..

PS: sorry for my bad english!
 
I have found the link of the image of the statics but for see it every user need to be login in proxmox server or user can't see banner.

Why is that a problem? You cant give unauthenticated people access to the API.
 
i need a php code for login my php in my proxmox server and see to my client statics banner like: Ram usage etc
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, 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 yours easily in our online shop.

Buy now!