• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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