cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tariq Iqbal <tariq.iq...@shapeblue.com>
Subject RE: List Usage Records using Cloud Monkey
Date Wed, 14 May 2014 09:08:46 GMT
Hi Prakash,

You could try using the CloudStack API (authenticated or unauthenticated) to request the usage
records.

For example an unauthenticated API request:

http://<CS_HOST_IP>:8096/client/api?command=listUsageRecords&startdate=YYYY-MM-DD&enddate=YYYY-MM-DD

Best Regards,

Tariq Iqbal

S: +44 20 3603 0540 | M: +447909911600

tariq.iqbal@shapeblue.com | Twitter: @TariqIqbal_

-----Original Message-----
From: Prakash Rao Banuka [mailto:prakash.b@simplifydc.com]
Sent: 13 May 2014 20:51
To: dev@cloudstack.apache.org
Cc: Venkata Suneel Babu Mallela
Subject: RE: List Usage Records using Cloud Monkey

Hi Sam

We are using 4.3 and 4.2

Thank you
Prakash



-----Original Message-----
From: Sam Schmit [mailto:sam.schmit@appcore.com]
Sent: Tuesday, May 13, 2014 6:43 PM
To: dev@cloudstack.apache.org
Cc: Venkata Suneel Babu Mallela
Subject: Re: List Usage Records using Cloud Monkey

Prakash,

What version of CS are you using?  We have seen issues with NPEs being thrown in 4.3 onward
(prior to a fix I have submitted) when there were removed VMs.

Sam



On Mon, May 12, 2014 at 12:47 PM, Prakash Rao Banuka < prakash.b@simplifydc.com> wrote:

> Hi:
>
> I installed and configured cloud usage, The records are getting
> created and are stored in tables (Cloud_usage Database)
>
> I'm issuing the following command in cloud monkey environment.
>
>                 >list usagerecords startdate=yyyy-mm-dd
> enddate=yyyy-mm-dd <enter>
>
> The result is showing as None, but If I check in the Mysql database
> (cloud_usage) and the table (cloud_usage) , records does exists.
>
> Any Idea Please
>
> Thank you
> Prakash
>
>
Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely for the use
of the individual to whom it is addressed. Any views or opinions expressed are solely those
of the author and do not necessarily represent those of Shape Blue Ltd or related companies.
If you are not the intended recipient of this email, you must neither take any action based
upon its contents, nor copy or show it to anyone. Please contact the sender if you believe
you have received this email in error. Shape Blue Ltd is a company incorporated in England
& Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated
in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Mime
View raw message