cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chiradeep Vittal <>
Subject Re: Network Usage
Date Tue, 04 Dec 2012 02:44:29 GMT
For basic zone and advanced networks where there is no VR in the path, the
only supported sFlow collector is Traffic Sentinel:

Check the user_statistics table

VR stats collection log snippets you should be able to grep for

Found 1  running routers.
Error while collecting network stats from router
Recieved and Sent bytes are both 0. Not updating user
unable to find stats for account
Router stats changed from the time NetworkUsageCommand
Received # of bytes that's less than the last one
Unable to update user statistics for account

On 11/29/12 12:34 PM, "Johann Hoehn" <> wrote:

>I'm interested in how network usage is obtained by CloudStack.  I've
>been unable to find much documentation on the matter.  From research the
>method used for basic and advanced zone is different.
>For basic it appears to be with sFlow and using the API calls of
>addTrafficMonitor, deleteTrafficMonitor, listTrafficMonitor.  There
>doesn't appear to be an UI element for this and it must be used via
>API.  Is there a suggested open/free implementation that I could setup
>for test purposes?
>For advanced, it seems to be from the virtual router and iptables
>NETWORK_STATS.  However, in my advanced zone, I am not seeing those
>counters rise.  I've found even less documentation on this side.  I may
>of mis-configured things, but I have no documentation to verify against.
>Can anyone point me to a document that describes the process for both

View raw message