This is a multi-part message in MIME format.
--------------030409050305080806090701
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Please check the command "vdsClient -s 0 getVmStats <vm_id> | grep
disks".
You will find the following data (vdsm/rpc/vdsmapi-schema.json):
---------------------------------------------------------------------------------------
6845 ##
6846 # @VmDiskStats:
6847 #
6848 # Statistics about a virtual machine disk device.
6849 #
6850 # @truesize: The amount of underlying storage allocated (in
bytes)
6851 #
6852 # @apparentsize: The size of the disk (in bytes)
6853 #
6854 # @imageID: The UUID of the Image associated with this disk
6855 #
6856 # @readRate: The read activity in bytes per second
6857 #
6858 # @writeRate: The write activity in bytes per second
6859 #
6860 # @readLatency: The latency of read operations in nanoseconds
6861 #
6862 # @writeLatency: The latency of write operations in nanoseconds
6863 #
6864 # @flushLatency: The latency of flush operations in nanoseconds
6865 #
6866 # @writeOps: Write operations since VM start (new in version
4.17.0)
6867 #
6868 # @readOps: Read operations since VM start (new in version
4.17.0)
6869 #
6870 # @readBytes: Bytes read (new in version 4.17.0)
6871 #
6872 # @writtenBytes: Bytes written (new in version 4.17.0)
6873 #
6874 # Since: 4.10.0
6875 ##
6876 {'type': 'VmDiskStats',
6877 'data': {'truesize': 'uint', 'apparentsize':
'uint', 'imageID':
'UUID',
6878 'readRate': 'uint', 'writeRate': 'uint',
6879 'readLatency': 'uint', 'writeLatency':
'uint',
6880 'flushLatency': 'uint', 'writeOps': 'uint',
'readOps':
'uint',
6881 'readBytes': 'uint', 'writtenBytes':
'uint'}}
---------------------------------------------------------------------------------------
The data is exposed through the API
(
https://ovirt.example.com/api/vms/<vm_id>/disks/<disk_id>/sta...).
--
apahim
On 08/10/2015 02:53 PM, Matthew Lagoe wrote:
You can sort of get the io from something like Nagios however the
problem is if the vm goes wacky you can only get the stats properly
from a lower level
*From:*users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] *On
Behalf Of *Donny Davis
*Sent:* Monday, August 10, 2015 10:48 AM
*To:* Arsène Gschwind
*Cc:* users
*Subject:* Re: [ovirt-users] ovirt-guest-agent
Can't you get these metrics from nagios?
On Aug 10, 2015 1:47 PM, "Arsène Gschwind" <arsene.gschwind(a)unibas.ch
<mailto:arsene.gschwind@unibas.ch>> wrote:
I would also be interested for that feature since we run some VM with
high I/O load it would be great to see those metrics in the interface.
rgds,
Arsène
On 08/10/2015 04:49 PM, Matthew Lagoe wrote:
I have had a RFE with Redhat for about 3 years on this exact item,
so it doesnt seem to be a high priority, that said more people
asking for it is a good thing.
*From:*users-bounces@ovirt.org <mailto:users-bounces@ovirt.org>
[mailto:users-bounces@ovirt.org] *On Behalf Of *Johan Kooijman
*Sent:* Monday, August 10, 2015 06:16 AM
*To:* users
*Subject:* [ovirt-users] ovirt-guest-agent
Hi,
Would it be possible add the io stats of a vm into
ovirt-guest-agent for making that data available in the interface
of oVirt?
I could help out by getting the stats into the client package, the
server side would be a bigger issue to me.
--
Met vriendelijke groeten / With kind regards,
Johan Kooijman
_______________________________________________
Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)ovirt.org <mailto:Users@ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
--------------030409050305080806090701
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Please check the command "vdsClient
-s
0 getVmStats <vm_id> | grep disks".<br>
<br>
You will find the following data (vdsm/rpc/vdsmapi-schema.json):<br>
---------------------------------------------------------------------------------------<br>
6845
##
<br>
6846 #
@VmDiskStats:
<br>
6847
#
<br>
6848 # Statistics about a virtual machine disk
device. <br>
6849
#
<br>
6850 # @truesize: The amount of underlying storage allocated
(in bytes) <br>
6851
#
<br>
6852 # @apparentsize: The size of the disk (in
bytes) <br>
6853
#
<br>
6854 # @imageID: The UUID of the Image associated with this
disk <br>
6855
#
<br>
6856 # @readRate: The read activity in bytes per
second <br>
6857
#
<br>
6858 # @writeRate: The write activity in bytes per
second <br>
6859
#
<br>
6860 # @readLatency: The latency of read operations in
nanoseconds <br>
6861
#
<br>
6862 # @writeLatency: The latency of write operations in
nanoseconds <br>
6863
#
<br>
6864 # @flushLatency: The latency of flush operations in
nanoseconds <br>
6865
#
<br>
6866 # @writeOps: Write operations since VM start (new in
version 4.17.0) <br>
6867
#
<br>
6868 # @readOps: Read operations since VM start (new in
version 4.17.0) <br>
6869
#
<br>
6870 # @readBytes: Bytes read (new in version
4.17.0) <br>
6871
#
<br>
6872 # @writtenBytes: Bytes written (new in version
4.17.0) <br>
6873
#
<br>
6874 # Since:
4.10.0
<br>
6875
##
<br>
6876 {'type':
'VmDiskStats',
<br>
6877 'data': {'truesize': 'uint', 'apparentsize':
'uint',
'imageID': 'UUID', <br>
6878 'readRate': 'uint', 'writeRate':
'uint', <br>
6879 'readLatency': 'uint', 'writeLatency':
'uint', <br>
6880 'flushLatency': 'uint', 'writeOps':
'uint',
'readOps': 'uint', <br>
6881 'readBytes': 'uint', 'writtenBytes':
'uint'}}<br>
---------------------------------------------------------------------------------------<br>
<br>
The data is exposed through the API
(<a class="moz-txt-link-freetext"
href="https://ovirt.example.com/api/vms/">https://ovirt.exam...
<br>
--<br>
apahim<br>
<br>
<br>
<br>
On 08/10/2015 02:53 PM, Matthew Lagoe wrote:<br>
</div>
<blockquote cite="mid:004801d0d395$83504c90$89f0e5b0$@subrigo.net"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Consolas","serif";}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You
can sort of get the io from something like Nagios however
the problem is if the vm goes wacky you can only get the
stats properly from a lower
level<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a class="moz-txt-link-abbreviated"
href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a>
[<a class="moz-txt-link-freetext"
href="mailto:users-bounces@ovirt.org">mailto:users-bounces@ovirt.org</a>]
<b>On
Behalf Of </b>Donny Davis<br>
<b>Sent:</b> Monday, August 10, 2015 10:48 AM<br>
<b>To:</b> Arsène Gschwind<br>
<b>Cc:</b> users<br>
<b>Subject:</b> Re: [ovirt-users]
ovirt-guest-agent<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p>Can't you get these metrics from
nagios?<o:p></o:p></p>
<div>
<p class="MsoNormal">On Aug 10, 2015 1:47 PM, "Arsène
Gschwind" <<a moz-do-not-send="true"
href="mailto:arsene.gschwind@unibas.ch">arsene.gschwind@unibas.ch</a>>
wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I
would
also be interested for that feature since we run some VM
with high I/O load it would be great to see those metrics
in the interface.<br>
<br>
rgds,<br>
Arsène<o:p></o:p></p>
<div>
<p class="MsoNormal">On 08/10/2015 04:49 PM, Matthew Lagoe
wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
have had a RFE with Redhat for about 3 years on this
exact item, so it doesnt seem to be a high
priority, that said more people asking for it is a
good thing.</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a moz-do-not-send="true"
href="mailto:users-bounces@ovirt.org"
target="_blank">users-bounces(a)ovirt.org</a>
[<a
moz-do-not-send="true"
href="mailto:users-bounces@ovirt.org"
target="_blank"><a
class="moz-txt-link-freetext"
href="mailto:users-bounces@ovirt.org">mailto:users-bounces@ovirt.org</a></a>]
<b>On Behalf Of </b>Johan Kooijman<br>
<b>Sent:</b> Monday, August 10, 2015 06:16 AM<br>
<b>To:</b> users<br>
<b>Subject:</b> [ovirt-users]
ovirt-guest-agent</span><o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi,<o:p></o:p></p>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Would
it be possible add the io stats of a vm into
ovirt-guest-agent for making that data available
in the interface of oVirt? <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I
could help out by getting the stats into the
client package, the server side would be a bigger
issue to me.<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--
<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Met
vriendelijke groeten / With kind regards,<br>
Johan Kooijman<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"
style="margin-bottom:12.0pt"><o:p> </o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="mailto:Users@ovirt.org"
target="_blank">Users@ovirt.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/users"
target="_blank">http://lists.ovirt.org/mailman/listinfo/user...
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"
style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/users"
target="_blank">http://lists.ovirt.org/mailman/listinfo/user...
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext"
href="http://lists.ovirt.org/mailman/listinfo/users">http://...
</pre>
</blockquote>
<br>
</body>
</html>
--------------030409050305080806090701--