• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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