PDA

View Full Version : Bandwidth questions


EricB
08-16-2007, 08:02 AM
I have a couple of questions regarding the CPAPI...

1. From what I am seeing, the BandwidthGetUsage method only returns the Bandwidth Usage values through the previous day. For example, today is 8/16, but the returning dataset has values only through 8/15.
Is what I am seeing correct? If so, are there any plans to modifythe BandwidthGetUsage method so that it will get dataincludingthe current day?

2. Is there a way to determine what the Bandwidth Quota is for a given domain?

Thanks,

Eric

bruce
08-17-2007, 08:43 AM
1.Youonly get access to the bandwidth usage from the previous day. THe usage is imported into the databse on a nightly basis.

2.Sorry. no such method currently.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

EricB
08-17-2007, 10:19 AM
Bruce,
Thanks.Are there any plans to offer updated stats (even hourly or every x hours)?Are there any plans forimplementing methods to allow for the retrieval of Bandwidth Quota values?

Thanks,

Eric

bruce
08-20-2007, 05:30 AM
> Thanks.Are there any plans to offer updated stats (even hourly or every x hours)?

No. This is much more complicated than it seems. With the current system, we tally up the total usage every night. If we do "real time" stats, the tool must remember which line was read since the last parse. If you need this feature, you may want to consider using LIvestats.

> Are there any plans forimplementing methods to allow for the retrieval of Bandwidth Quota values?

Possibly if we see enough demand.

Bruce

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)

EricB
08-20-2007, 07:07 AM
Bruce,


Thanks for the update.





Eric