get Lightweight Virtual Environment via script
Announcement
Collapse
No announcement yet.
LVE Script/API access
Collapse
X
-
Hello!
We are using cpanel & cloud linux. Everything is working great in WHM and CPanel!
The customer can also see the LVE in cPanel right now (CPU Usage, Memory Usage, Entry Processes).
Now, we want to build our own User Interface and manage everything via the cPanel API (API1, API2, ..)
Unfortunately, we didn find a way to receive the LVE data via script (PHP).
Is there any possibility or can someone provide a snipped of code how to do this?
Thank you in advance
Harald
-
There is no cPanel API for that, but you can store lve data centrally, and use lveinfo / lvechart to retrieve the data:
Plz, see section on MySQL/PostgreSQL integration.
Comment
Comment