View Full Version : Space left on each website
bochenn
27th October 2009, 21:26
Where can i look at how much space a particular website is currently using?
My clients are asking for that.
Thanks
till
27th October 2009, 23:16
You can do this with the command:
repquota -avug
on the shell.
bochenn
28th October 2009, 01:43
the client cant' access that information from inside the ispconfig panel????
till
28th October 2009, 09:00
No. Thats not possible yet.
bochenn
28th October 2009, 18:38
i would like to code a plugin to help me with that. is that possible? any documentation on how to develop plugins?
thanks
till
29th October 2009, 09:42
ISPConfig has plugins only in the daemon part that runs on the servers and not in the interface. But you can add new functions to the interface too of course, they are just not plugins.
Implementing this is not that easy as ispconfig is a multiserver controlpanel, so you can not assume that the interface is on the same server then the websites. This means that the best place to add the code that does the actual monitoring is in the server/mods-available/monitor_core_module.inc.php file. This code has to store the size of the websites in the mysql (master) database like the other monitoring data. Then you will have to add some code in the interface/web/sites/web_domain_edit.php file to display the quota or you add it to a separate file like it is done for the mail traffic.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.