Announcement

Collapse
No announcement yet.

LVE Script/API access

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • LVE Script/API access

    get Lightweight Virtual Environment via script

  • #2
    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

    Comment


    • #3
      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


      • #4
        Hello Igor,

        thank you for your answer! I will check/test this right away!

        Comment


        • #5
          Works fine...! One question:
          Is it possible to change the behavior, that logs get deleted after a time?
          Thank you for a short info!
          Best regards

          Comment


          • #6
            The info is automatically deleted after two months.

            Comment


            • #7
              And there is now way to setup the LVE in a way, that NOTHING gets deleted?

              Comment

              Working...
              X