<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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 id="stopSpelling">Date: Thu, 20 Jun 2013 15:19:44 +0530<br>From: jobin.rv@gmail.com<br>To: openstack@lists.launchpad.net<br>Subject: [Openstack] How to query ceilometer to get nova-specific data<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 style=""></p><p style=""></p><p style="">
</p><p style=""></p><p style=""></p><p style=""><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 style=""><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 style=""><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 style=""><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 style=""><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>_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp</div></div>                                         </div></body>
</html>