<HTML>
<HEAD>
<TITLE>Re: [Openstack] Resource utilization</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>From james penick here @ yahoo (via proxy):<BR>
<BR>
“In the interim, tell those people that code is comin' Real Soon Now.”<BR>
<BR>
Soooo expect something to help out here soon ;)<BR>
<BR>
On 4/20/12 8:32 AM, "Matt Joyce" <<a href="matt@nycresistor.com">matt@nycresistor.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I've done libvirt calls via nrpe in the past for this.<BR>
<BR>
On Apr 20, 2012 5:28 AM, "Leander Bessa" <<a href="leanderbb@gmail.com">leanderbb@gmail.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>I've been trying to complete the diagnostics command for libvirt, so far i think i can get the cpu usage (still need a sample time of  1 second), volume and network io. I still can't get the current memory and total memory. However, i believe the latter is a problem with libvirt, since i can't get the information through virsh as well.<BR>
<BR>
On Fri, Apr 20, 2012 at 1:11 PM, Tomasz Paszkowski <<a href="ss7pro@gmail.com">ss7pro@gmail.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Please also note that diagnostics commands are not working with libvirt/qemu,kvm<BR>
<BR>
<BR>
<BR>
On Fri, Apr 20, 2012 at 1:23 PM, Razique Mahroua <<a href="razique.mahroua@gmail.com">razique.mahroua@gmail.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hey, I think you would look into the "diagnostic" calls<BR>
the operator client (python-novaclient) has implemented it via $nova diagnostics, which likely give you the stats you are looking for<BR>
<BR>
</SPAN></FONT><FONT FACE="Helvetica, Verdana, Arial"><SPAN STYLE='font-size:12pt'><B>Nuage & Co - Razique Mahroua <BR>
</B><FONT COLOR="#13708A"><a href="razique.mahroua@gmail.com">razique.mahroua@gmail.com</a><BR>
</FONT><BR>
</SPAN></FONT><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
Le 20 avr. 2012 à 13:17, Szymon Grzybowski a écrit :<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Is there any way to get information about resource utilization from Openstack? Any hidden API or something like that? I'm looking for statistics about CPU, RAM usage etc. both from server itself (host) and Instances (Virtual Machines) inside openstack, because i'd like to write some piece of software which could analyze those data and for example, migrate one VM to another Host. Is it possible to do this right now in Openstack? Because all i can see on dashboard are stats about instance's type. I've seen in docs something about live-migration, but i can't find openstack's way to get informations about resources.<BR>
<BR>
Where should i look for it in code if there is no official api, because Openstack has to collect such data right?<BR>
</SPAN></FONT></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE>
</BODY>
</HTML>