• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question Subscription Statistics: Traffic + Disk Usage

Capitan

New Pleskian
Hi

I'd like to allow my hosted websites to view their Traffic and Disk Usage, but I don't want to give them access to Plesk.

They are all running on a LAMP CMS
I'm assuming this data will be stored in the 'psa' database somewhere

Does anyone have advice for:
- finding that data in psa
- retreiving it within the subscriptions
 
You could use the Plesk XML API to retrieve the subscriptions traffic and disk usage. More the specific the get_traffic option to retrieve traffic data and the webspace>disk_usage option for disk space.

Using the XML API would be a better option imho than getting any data directly from the Plesk database as the database schema might change with Plesk updates.
 
Last edited:
Another good option, true! Thank you.
I think Rasp's suggestions will best fit the requirement in this instance
 
Back
Top