<div dir="ltr"><div>Hey, Claudio!<br><br></div>The command I executed is the second command in the <a href="http://docs.openstack.org/developer/ceilometer/webapi/v2.html" target="_blank">page that you gave</a>(which
 is also the one I am referring to). Can you please pin-point what is 
the mistake in the command or counsel what is the right one to get 
nova-specific data? By the way, I replaced resource_id with the actual ID of the resource I wanted.<br><div class=""><div id=":1bv" class="" tabindex="0"><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif"></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 20, 2013 at 3:50 PM, claudio marques <span dir="ltr"><<a href="mailto:claudio@onesource.pt" target="_blank">claudio@onesource.pt</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">Hi Jobin<div><br></div><div>I think that your Curl command is not right. Look into this page for more info about meters from ceilometer. </div><div><br></div><div><a href="http://docs.openstack.org/developer/ceilometer/webapi/v2.html#ceilometer.api.controllers.v2.Statistics.max" target="_blank">http://docs.openstack.org/developer/ceilometer/webapi/v2.html#ceilometer.api.controllers.v2.Statistics.max</a></div>
<div><br></div><div>Cheers</div><div><br><div><hr>Date: Thu, 20 Jun 2013 15:19:44 +0530<br>From: <a href="mailto:jobin.rv@gmail.com" target="_blank">jobin.rv@gmail.com</a><br>To: <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Subject: [Openstack] How to query ceilometer to get nova-specific data<div><div class="h5"><br><br><div dir="ltr"><div><div><div><div>Hey, all!<br><br><br></div>I installed ceilometer on Ubuntu 12.04 using the manual installation guide given <a href="http://docs.openstack.org/developer/ceilometer/install/manual.html" target="_blank">here</a>. However, I am having trouble getting data from it. When I do a ceilometer meter-list, all I get is a table with 4 rows with the names: image and image.size and its parameters; no CPU, vCPU and memory.<br>

<br></div>When I query using curl, I get some data regarding images installed and their sizes and ID and date of creation, etc.; no nova-specific data. This is how I query ceilometer using curl:<br><br><font size="4"><span style="font-family:courier new,monospace">curl -X GET -H 'X-Auth-Token:<my_token_here' "<a href="http://localhost:8777/v2/resources/resource_id" target="_blank">http://localhost:8777/v2/resources/resource_id</a>"<br>

</span></font><br></div>This returns a <font size="4"><span style="font-family:courier new,monospace">404 Not Found</span></font> error.<br><br>These are my primary concerns:<br><br>1) How do I query to get the CPU resources utilized by my virtual machines?<br>

<br>2) How do I decide on which port I have to pass this query? There are some documents which have<span style="font-family:courier new,monospace"> <font size="4">v1</font></span> instead of <span style="font-family:courier new,monospace"><font size="4">v2</font></span> in the URL, I would like to have clarification on that too.<br>

<br></div>Thanks for your patience.<br clear="all"><div><div><div><div><div><br>-- <br><div style="text-align:left"><p></p><p></p><p>
</p><p></p><p></p><p><span style="font-family:"Arial","sans-serif";color:rgb(255,0,102)">Thanks and regards,</span><span style="font-family:Arial,sans-serif"></span></p>


<p><span style="font-family:"Arial","sans-serif";color:rgb(84,141,212)">Jobin Raju George</span><span style="font-family:Arial,sans-serif"></span></p>

<p><span style="font-family:"Arial","sans-serif";color:rgb(84,141,212)">Third Year, Information Technology</span><span style="font-family:Arial,sans-serif"></span></p>

<p><span style="font-family:"Arial","sans-serif";color:rgb(84,141,212)">College of Engineering Pune</span><span style="font-family:Arial,sans-serif"></span></p>

<p><span style="font-family:"Arial","sans-serif";color:rgb(84,141,212)">Alternate e-mail:<span> </span></span><span style="font-family:"Arial","sans-serif";color:rgb(0,176,80)"><a href="mailto:georgejr10.it@coep.ac.in" target="_blank">georgejr10.it@coep.ac.in</a></span><span style="font-family:Arial,sans-serif"></span></p>

<br><br><br><br><br></div>
</div></div></div></div></div></div>
<br></div></div>_______________________________________________
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a></div></div>                                       </div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div style="text-align:left"><p style="margin-bottom:0.0001pt"></p><p style="margin-bottom:0.0001pt"></p><p style="margin-bottom:0.0001pt"></p><p style="margin-bottom:0.0001pt">
</p><p style="margin-bottom:0.0001pt"></p><p style="margin-bottom:0in;margin-bottom:.0001pt"><span style="font-family:"Arial","sans-serif";color:#ff0066">Thanks and regards,</span><span style="font-family:Arial,sans-serif"></span></p>


<p style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt"><span style="font-family:"Arial","sans-serif";color:#548dd4">Jobin Raju George</span><span style="font-family:Arial,sans-serif"></span></p>


<p style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt"><span style="font-family:"Arial","sans-serif";color:#548dd4">Third Year, Information Technology</span><span style="font-family:Arial,sans-serif"></span></p>


<p style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt"><span style="font-family:"Arial","sans-serif";color:#548dd4">College of Engineering Pune</span><span style="font-family:Arial,sans-serif"></span></p>


<p style="margin-top:0in;margin-right:0in;margin-left:0in;margin-bottom:0.0001pt"><span style="font-family:"Arial","sans-serif";color:#548dd4">Alternate e-mail:<span> </span></span><span style="font-family:"Arial","sans-serif";color:#00b050"><a href="mailto:georgejr10.it@coep.ac.in" target="_blank">georgejr10.it@coep.ac.in</a></span><span style="font-family:Arial,sans-serif"></span></p>
<p></p><p></p><p></p><p></p><p></p></div>
</div>