← Back to team overview

openstack team mailing list archive

Re: Memory meters from ceilometer

 

Thanks a lot Eoghan for your detailed response. I have enabled instance
usage auditing in my nova.conf <http://pastebin.ubuntu.com/5887592/>. Is
there anyway I could get these meters(memory and disk utilization) for VM's
provisioned using OpenStack?

Thanks for your efforts.


On Thu, Jul 18, 2013 at 4:57 PM, Eoghan Glynn <eglynn@xxxxxxxxxx> wrote:

>
> Hey Jobin,
>
> Thanks for your perceptive question.
>
> The reason is that the conduits for gathering CPU metering and memory
> metering are quite different in ceilometer currently:
>
> * cpu/cpu_util are derived by polling the libvirt daemon
>
> * memory is derived from the "compute.instance.exists" notification
>   sent by nova
>
> (This is the pollster versus notification-handler dichotomy you'll
>  see throughout ceilometer).
>
> The reason you're not seeing the memory meter being collected is
> probably because you don't have instance usage auditing enabled in
> your nova config (see the "Configure nova" section in [1]).
>
> However, be warned that this meter is probably not the memory
> utilization statistic that you're expecting. Rather it's likely to
> be a static value reflecting the quantum of memory allocated by the
> hypervisor to the instance (as opposed to the sort of number you'd
> see when running "free -m" on the instance).
>
> I'm looking into adding support for more useful memory utilization
> metering (that could for example drive autoscaling logic), but this
> will require usage of an upcoming release of libvirt.
>
> Cheers,
> Eoghan
>
> [1] http://docs.openstack.org/developer/ceilometer/install/manual.html
>
>
>
> > Hey!
> >
> >
> >
> >
> >
> > I am running openstack on an Ubuntu 12.04 desktop 64-bit virtual
> machine. I
> > am trying to use ceilometer to get the CPU and memory utilization from my
> > compute node on a KVM host which has a few VM's running on it.
> >
> > However, this is the list of meters I get from ceilometer:
> >
> > cpu, cpu_util, disk.read.bytes, disk.write.bytes, disk.read.requests,
> > disk.write.requests, image, image.size, image.download, instance,
> > instance:m1.small, network.incoming.bytes, network.outgoing.bytes,
> > network.incoming.packets, network.outgoing.packets
> >
> >
> >
> >
> >
> > Why am I not getting memory usage meters? I don't see the logs to have
> any
> > interpretation of this. Here is my ceilometer config file .
> >
> > --
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Thanks and regards,
> >
> > Jobin Raju George
> >
> > Third Year, Information Technology
> >
> > College of Engineering Pune
> >
> > Alternate e-mail: georgejr10.it@xxxxxxxxxx
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openstack
> > More help   : https://help.launchpad.net/ListHelp
> >
>



-- 

Thanks and regards,

Jobin Raju George

Third Year, Information Technology

College of Engineering Pune

Alternate e-mail: georgejr10.it@xxxxxxxxxx

Follow ups

References