[ovirt-users] ovirt-guest-agent
Amador Pahim
apahim at redhat.com
Mon Aug 10 18:39:40 UTC 2015
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>/statistics).
--
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 at ovirt.org [mailto:users-bounces at 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 at unibas.ch
> <mailto:arsene.gschwind at 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 doesn’t seem to be a high priority, that said more people
> asking for it is a good thing.
>
> *From:*users-bounces at ovirt.org <mailto:users-bounces at ovirt.org>
> [mailto:users-bounces at 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 at ovirt.org <mailto:Users at ovirt.org>
>
> http://lists.ovirt.org/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org <mailto:Users at ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150810/f8dea26a/attachment-0001.html>
More information about the Users
mailing list