<div dir="ltr">Thanks Eoghan for your detailed response regarding the current scenario and progress related to this project. Had been investigating about this for while since they had been documented <a href="http://docs.openstack.org/developer/ceilometer/measurements.html">here in the official ceilometer measurements page</a>. Thanks for your enlightenment!</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 18, 2013 at 8:43 PM, Eoghan Glynn <span dir="ltr"><<a href="mailto:eglynn@redhat.com" target="_blank">eglynn@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Hi Jobin,<br>
<br>
The memory utilization metering will require a new release of libvirt<br>
which will not be available for another few weeks. After that, it will<br>
depend on there being developer bandwidth available to put the ceilometer<br>
support in place for a new meter type.<br>
<br>
We have no current plans that I'm aware of to implement metering of disk<br>
utilization (in the sense of available diskspace, equivalent to that<br>
reported by say running the df command on the instance). But I could see<br>
it being a useful thing.<br>
<br>
The information is certainly available via the libvirt domain blockInfo,<br>
though there may be some wrinkles around multiple block devices versus<br>
volumes attached.<br>
<br>
In any case, please submit[1] a bug with a request for enhancement.<br>
<br>
Cheers,<br>
Eoghan<br>
<br>
[1] <a href="https://bugs.launchpad.net/ceilometer/+filebug" target="_blank">https://bugs.launchpad.net/ceilometer/+filebug</a><br>
<div class="im"><br>
----- Original Message -----<br>
> Thanks a lot Eoghan for your detailed response. I have enabled instance<br>
</div>> usage auditing in my nova.conf <<a href="http://pastebin.ubuntu.com/5887592/" target="_blank">http://pastebin.ubuntu.com/5887592/</a>>. Is<br>
<div class="HOEnZb"><div class="h5">> there anyway I could get these meters(memory and disk utilization) for VM's<br>
> provisioned using OpenStack?<br>
><br>
> Thanks for your efforts.<br>
><br>
><br>
> On Thu, Jul 18, 2013 at 4:57 PM, Eoghan Glynn <<a href="mailto:eglynn@redhat.com">eglynn@redhat.com</a>> wrote:<br>
><br>
> ><br>
> > Hey Jobin,<br>
> ><br>
> > Thanks for your perceptive question.<br>
> ><br>
> > The reason is that the conduits for gathering CPU metering and memory<br>
> > metering are quite different in ceilometer currently:<br>
> ><br>
> > * cpu/cpu_util are derived by polling the libvirt daemon<br>
> ><br>
> > * memory is derived from the "compute.instance.exists" notification<br>
> >   sent by nova<br>
> ><br>
> > (This is the pollster versus notification-handler dichotomy you'll<br>
> >  see throughout ceilometer).<br>
> ><br>
> > The reason you're not seeing the memory meter being collected is<br>
> > probably because you don't have instance usage auditing enabled in<br>
> > your nova config (see the "Configure nova" section in [1]).<br>
> ><br>
> > However, be warned that this meter is probably not the memory<br>
> > utilization statistic that you're expecting. Rather it's likely to<br>
> > be a static value reflecting the quantum of memory allocated by the<br>
> > hypervisor to the instance (as opposed to the sort of number you'd<br>
> > see when running "free -m" on the instance).<br>
> ><br>
> > I'm looking into adding support for more useful memory utilization<br>
> > metering (that could for example drive autoscaling logic), but this<br>
> > will require usage of an upcoming release of libvirt.<br>
> ><br>
> > Cheers,<br>
> > Eoghan<br>
> ><br>
> > [1] <a href="http://docs.openstack.org/developer/ceilometer/install/manual.html" target="_blank">http://docs.openstack.org/developer/ceilometer/install/manual.html</a><br>
> ><br>
> ><br>
> ><br>
> > > Hey!<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > I am running openstack on an Ubuntu 12.04 desktop 64-bit virtual<br>
> > machine. I<br>
> > > am trying to use ceilometer to get the CPU and memory utilization from my<br>
> > > compute node on a KVM host which has a few VM's running on it.<br>
> > ><br>
> > > However, this is the list of meters I get from ceilometer:<br>
> > ><br>
> > > cpu, cpu_util, disk.read.bytes, disk.write.bytes, disk.read.requests,<br>
> > > disk.write.requests, image, image.size, image.download, instance,<br>
> > > instance:m1.small, network.incoming.bytes, network.outgoing.bytes,<br>
> > > network.incoming.packets, network.outgoing.packets<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > Why am I not getting memory usage meters? I don't see the logs to have<br>
> > any<br>
> > > interpretation of this. Here is my ceilometer config file .<br>
> > ><br>
> > > --<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > Thanks and regards,<br>
> > ><br>
> > > Jobin Raju George<br>
> > ><br>
> > > Third Year, Information Technology<br>
> > ><br>
> > > College of Engineering Pune<br>
> > ><br>
> > > Alternate e-mail: <a href="mailto:georgejr10.it@coep.ac.in">georgejr10.it@coep.ac.in</a><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><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>
> ><br>
><br>
><br>
><br>
> --<br>
><br>
> Thanks and regards,<br>
><br>
> Jobin Raju George<br>
><br>
> Third Year, Information Technology<br>
><br>
> College of Engineering Pune<br>
><br>
> Alternate e-mail: <a href="mailto:georgejr10.it@coep.ac.in">georgejr10.it@coep.ac.in</a><br>
><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <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>