Re: [cloudmonkey] Doesn't list any network usagerecords

2014-06-25 Thread Nux!
gt;>>res=2014-06-25T10%3A32%3A03%2B&response=json&signatureversion=3&sta >>>>rt >>>> date=2014-06-10&type=4&signature=*** >>>> >>>> Also, while there seems to be some plenty of output for other stuff

Re: [cloudmonkey] Doesn't list any network usagerecords

2014-06-25 Thread Lambiel, Loic
ureversion=3&sta >>>>rt >>>> date=2014-06-10&type=4&signature=*** >>>> >>>> Also, while there seems to be some plenty of output for other stuff >>>> (types 2,3,6,10,13 etc) there is zero for NETWORK (4 and 5) >

Re: [cloudmonkey] Doesn't list any network usagerecords

2014-06-25 Thread Nux!
t;sebgoa" , dev@cloudstack.apache.org Sent: Wednesday, 25 June, 2014 1:52:07 PM Subject: Re: [cloudmonkey] Doesn't list any network usagerecords Hi Guys, We¹re running 4.3+ (KVM, Basic Networking). I confirm that we do not have any record of type 4 in the usage DB. Best Regards, -- Loic Lambiel EXOSCA

Re: [cloudmonkey] Doesn't list any network usagerecords

2014-06-25 Thread Sebastien Goasguen
ro for NETWORK (4 and 5) >>> cloudmonkey list usagerecords >>> accountid=2fd94b65-2a2a-47d8-8a03-1d8361d8f042 startdate=2014-06-10 >>> enddate=2014-06-20|grep "usagetype = 4" <- this outputs nada. >>> >>> Nothing obvious in apilog or management

Re: [cloudmonkey] Doesn't list any network usagerecords

2014-06-25 Thread Lambiel, Loic
But by the looks >>of things it may seem the data does not reach the DB, something goes >>wrong before DB stage. >> >> Any other pointers? >> >> -- >> Sent from the Delta quadrant using Borg technology! >> >> Nux! >> www.nux.ro >>

Re: [cloudmonkey] Doesn't list any network usagerecords

2014-06-25 Thread sebgoa
stage. > > Any other pointers? > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro > > > - Original Message - > From: "Rohit Yadav" > To: dev@cloudstack.apache.org > Sent: Wednesday, 25 June, 2014

Re: [cloudmonkey] Doesn't list any network usagerecords

2014-06-25 Thread Nux!
Nux! www.nux.ro - Original Message ----- From: "Rohit Yadav" To: dev@cloudstack.apache.org Sent: Wednesday, 25 June, 2014 11:09:11 AM Subject: Re: [cloudmonkey] Doesn't list any network usagerecords Hi Lucian, Check what Sebastien suggested. In addition: - in your ~/.

Re: [cloudmonkey] Doesn't list any network usagerecords

2014-06-25 Thread Rohit Yadav
Hi Lucian, Check what Sebastien suggested. In addition: - in your ~/.cloudmonkey/log share with us the API/URL called (so we can check that cloudmonkey is not messing up the request) - The type in listUsageRecords API is the hypervisor type, check valid hypervisors - Run the listUsageTypes APIs t

Re: [cloudmonkey] Doesn't list any network usagerecords

2014-06-25 Thread Sebastien Goasguen
On Jun 25, 2014, at 5:37 AM, Nux! wrote: > Hi, > > We're trying to get some sort of accounting going on and we're looking at > checking the network stats, but while "listVirtualMachines" will list some > minimal stats[1] for running VMs, we were hoping "listUsageRecords" types 4 & > 5 ( > NE

Re: [cloudmonkey] Doesn't list any network usagerecords

2014-06-25 Thread Nux!
I also noticed the cloud_usage DB doesn't have any network stats either: mysql> select * from cloud_usage where usage_type="4"; Empty set (0.30 sec) mysql> select * from cloud_usage where usage_type="5"; Empty set (0.29 sec) -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.