cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hean Seng <heans...@gmail.com>
Subject Re: Updating CloudStack Usage , Network byte send and receive
Date Wed, 18 Nov 2020 12:28:31 GMT
I  go through the source code , StatsCollector,   need to change ,
vm.network.stats.interval.
to bigger the Value 0,   in order to  get system to calculate the
ShareNetwork traffic .

However, i not sure if changing this value,  will it affect the
calculation of  Network Traffic in Advance NAT  public ip zone..

My setup for this testing is Advance zone with. SG.









On Wed, Nov 18, 2020 at 1:13 PM Hean Seng <heanseng@gmail.com> wrote:

> I just found that there is no data update to this User_Statistic table .
> If I manual udpate the net_bytes_received and net_byte_sent, then the usage
> record will be count when cloudstack usage process run .
>
> On Wed, Nov 18, 2020 at 10:18 AM Hean Seng <heanseng@gmail.com> wrote:
>
>> Hi Andrija
>>
>> There is some records inside the table ,  is this table supposed to be
>> empty after it has been processed ?   And each time there is bytes incur,
>> it will write to this table ?
>>
>> [image: image.png]
>>
>> On Wed, Nov 18, 2020 at 8:04 AM Andrija Panic <andrija.panic@gmail.com>
>> wrote:
>>
>>> Can you compare the records to the cloud.user_statistics table? As stupid
>>> as it sounds... it does contain net_bytes_received/sent etc...
>>>
>>> On Mon, 16 Nov 2020 at 14:20, Hean Seng <heanseng@gmail.com> wrote:
>>>
>>> > Hi,
>>> >
>>> > Anybody know , For Cloudstack Usage, Type 4, and 5 ,  (
>>> NETWORK_BYTES_SENT,
>>> > and NETWORK_BYTES_RECEIVED) ,    the cloudstack-usage service,  copy
>>> from
>>> > which table to usage_network Table?
>>> >
>>> >
>>> >
>>> >
>>> > --
>>> > Regards,
>>> > Hean Seng
>>> >
>>>
>>>
>>> --
>>>
>>> Andrija Panić
>>>
>>
>>
>> --
>> Regards,
>> Hean Seng
>>
>
>
> --
> Regards,
> Hean Seng
>


-- 
Regards,
Hean Seng

Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message