Submitted by sgrayban on Sat, 01/30/2010 - 08:42
How about a new API/cli ?
virtualmin list-quota
So that we can list the quotas for all domains or just one.
I am going to ask the WHMCS guys to add support to the virtualmin server mod to add support for this so we can bill for extra quota on the fly when the client needs more space.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sat, 01/30/2010 - 15:01 Comment #1
This isn't really needed .. you can already get all domains and quotas with an API command like :
virtualmin list-domains --multiline
Submitted by sgrayban on Sat, 01/30/2010 - 22:32 Comment #2
I think WHMCS needs something simpler then that.
Matt was telling me he needs something like I asked for.
virtualmin list-quotas borgnet.net
Submitted by JamieCameron on Sun, 01/31/2010 - 00:19 Comment #3
Does he want quotas for mailboxes, or quotas for domains?
I suppose a simpler command could be added, but really it shouldn't be too hard to parse the output from list-domains and list-users .
Submitted by sgrayban on Sun, 01/31/2010 - 00:42 Comment #4
quota for the whole domain -- WHMCS does not do mailboxes just the whole domain
Submitted by sgrayban on Sun, 01/31/2010 - 00:49 Comment #5
btw.. the virtualmin list-bandwidth can you add a switch to just show the current bandwidth used that month ?
eg; virtualmin list-bandwidth --month-total
What you shows is not very useful because it shows all bandwidth from the creation of the domain.
Submitted by JamieCameron on Sun, 01/31/2010 - 01:00 Comment #6
You can get the bandwidth used for the current month also from the
virtualmin list-domains --domain whatever.com --multiline
call. It's in the Bandwidth usage line.Can WHCMS really not parse this output format?
Submitted by JamieCameron on Sun, 01/31/2010 - 01:01 Comment #7
You can get the bandwidth used for the current month also from the
virtualmin list-domains --domain whatever.com --multiline
call. It's in the Bandwidth usage line.Can WHCMS really not parse this output format?
Submitted by sgrayban on Mon, 02/01/2010 - 20:56 Comment #8
I'm working(paying) with Matt to come up with a away to do this.
Submitted by Issues on Mon, 02/15/2010 - 22:19 Comment #9
Automatically closed -- issue fixed for 2 weeks with no activity.