[libvirt] Performance statistics

Hello, Is it possible to get at the (historical) performance data provided by libvirtd? Is it stored for a period of time, or only available to clients polling it? Thanks JB

On Fri, Oct 02, 2009 at 02:01:02PM +0200, James Brackinshaw wrote:
Hello,
Is it possible to get at the (historical) performance data provided by libvirtd? Is it stored for a period of time, or only available to clients polling it?
Libvirtd doesn't store any, you really need to poll at the frequency you consider appropriate, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

On Fri, Oct 02, 2009 at 02:31:29PM +0200, Daniel Veillard wrote:
On Fri, Oct 02, 2009 at 02:01:02PM +0200, James Brackinshaw wrote:
Hello,
Is it possible to get at the (historical) performance data provided by libvirtd? Is it stored for a period of time, or only available to clients polling it?
Libvirtd doesn't store any, you really need to poll at the frequency you consider appropriate,
FYI, you can use 3rd party monitoring software with a libvirt data collection plugin. We have written plugins for collectd, munin and nagios - it is trivially to do the same for more monitoring apps if one of those doesn't suit your needs Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

On Fri, Oct 2, 2009 at 2:41 PM, Daniel P. Berrange <berrange@redhat.com> wrote:
On Fri, Oct 02, 2009 at 02:31:29PM +0200, Daniel Veillard wrote:
On Fri, Oct 02, 2009 at 02:01:02PM +0200, James Brackinshaw wrote:
Hello,
Is it possible to get at the (historical) performance data provided by libvirtd? Is it stored for a period of time, or only available to clients polling it?
Libvirtd doesn't store any, you really need to poll at the frequency you consider appropriate,
FYI, you can use 3rd party monitoring software with a libvirt data collection plugin. We have written plugins for collectd, munin and nagios - it is trivially to do the same for more monitoring apps if one of those doesn't suit your needs
Daniel
Great :) Saves me writing one then!
participants (3)
-
Daniel P. Berrange
-
Daniel Veillard
-
James Brackinshaw