• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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