<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 &lt;vm_id&gt; | 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.example.com/api/vms/</a>&lt;vm_id&gt;/disks/&lt;disk_id&gt;/statistics).<br>
      <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:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
            <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" &lt;<a moz-do-not-send="true"
              href="mailto:arsene.gschwind@unibas.ch">arsene.gschwind@unibas.ch</a>&gt;
            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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I
                    have had a RFE with Redhat for about 3 years on this
                    exact item, so it doesn’t 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:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
                    <a moz-do-not-send="true"
                      href="mailto:users-bounces@ovirt.org"
                      target="_blank">users-bounces@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/users</a><o:p></o:p></pre>
            </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/users</a><o:p></o:p></p>
        </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://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>