Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora/Linux Management Tools (http://www.linux-archive.org/fedora-linux-management-tools/)
-   -   libvirt munin plugins (http://www.linux-archive.org/fedora-linux-management-tools/177529-libvirt-munin-plugins.html)

Guido GŁnther 10-16-2008 03:38 PM

libvirt munin plugins
 
Hi,
just in case somebody monitors VMs with munin[1]. I've put to simple
plugins for net and block I/O monitoring here:
http://honk.sigxcpu.org/projects/libvirt/monitor/
Cheers,
-- Guido

[1]: http://munin.projects.linpro.no/

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

"Daniel P. Berrange" 10-16-2008 03:41 PM

libvirt munin plugins
 
On Thu, Oct 16, 2008 at 05:38:57PM +0200, Guido G?nther wrote:
> Hi,
> just in case somebody monitors VMs with munin[1]. I've put to simple
> plugins for net and block I/O monitoring here:
> http://honk.sigxcpu.org/projects/libvirt/monitor/

Nice idea ! Rich Jones did a similar thing for collectd, and Nagios.

We should link to all 3 of these plugins from the libvirt applications
page on the website http://libvirt.org/apps.html

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 :|

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Daniel Veillard 10-16-2008 04:34 PM

libvirt munin plugins
 
On Thu, Oct 16, 2008 at 04:41:22PM +0100, Daniel P. Berrange wrote:
> On Thu, Oct 16, 2008 at 05:38:57PM +0200, Guido G?nther wrote:
> > Hi,
> > just in case somebody monitors VMs with munin[1]. I've put to simple
> > plugins for net and block I/O monitoring here:
> > http://honk.sigxcpu.org/projects/libvirt/monitor/
>
> Nice idea ! Rich Jones did a similar thing for collectd, and Nagios.
>
> We should link to all 3 of these plugins from the libvirt applications
> page on the website http://libvirt.org/apps.html

Makes sense ! Attached patch adds the 3 plugins in a new section of
the application page,

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/
Index: docs/apps.html.in
================================================== =================
RCS file: /data/cvs/libxen/docs/apps.html.in,v
retrieving revision 1.2
diff -u -p -r1.2 apps.html.in
--- docs/apps.html.in 15 May 2008 06:12:32 -0000 1.2
+++ docs/apps.html.in 16 Oct 2008 16:33:40 -0000
@@ -103,6 +103,31 @@
</dd>
</dl>

+ <h2>Monitoring plugins</h2>
+ <dl>
+ <dt><a href="http://honk.sigxcpu.org/projects/libvirt/monitor/">for munin</a></dt>
+ <dd>
+ The two plugins provided by Guido GŁnther allows to monitor network and
+ block I/O with <a href="http://munin.projects.linpro.no/">Munin</a>.
+ </dd>
+ <dt><a href="http://collectd.org/plugins/libvirt.shtml">for collectd</a></dt>
+ <dd>
+ The libvirt-plugin is part of <a href="http://collectd.org/">collectd</a>
+ and gather statistics about virtualized guests on a system. This
+ way, you can collect CPU, network interface and block device usage
+ for each guest without installing collectd on the guest systems.
+ or a full description of available please refer to the libvirt section
+ in the collectd.conf(5) manual page.
+ </dd>
+ <dt><a href="http://et.redhat.com/~rjones/nagios-virt/">nagios-virt</a></dt>
+ <dd>
+ Nagios-virt is a configuration tool for adding monitoring of your
+ virtualised domains to <a href="http://www.nagios.org/">Nagios</a>.
+ You can use this tool to either set up a new Nagios installation for
+ your Xen or QEMU/KVM guests, or to integrate with your existing Nagios
+ installation.
+ </dd>
+ </dl>

</body>
</html>
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Guido GŁnther 10-21-2008 05:04 PM

libvirt munin plugins
 
On Thu, Oct 16, 2008 at 06:34:59PM +0200, Daniel Veillard wrote:
> On Thu, Oct 16, 2008 at 04:41:22PM +0100, Daniel P. Berrange wrote:
> > On Thu, Oct 16, 2008 at 05:38:57PM +0200, Guido G?nther wrote:
> > > Hi,
> > > just in case somebody monitors VMs with munin[1]. I've put to simple
> > > plugins for net and block I/O monitoring here:
> > > http://honk.sigxcpu.org/projects/libvirt/monitor/
> >
> > Nice idea ! Rich Jones did a similar thing for collectd, and Nagios.
> >
> > We should link to all 3 of these plugins from the libvirt applications
> > page on the website http://libvirt.org/apps.html
>
> Makes sense ! Attached patch adds the 3 plugins in a new section of
> the application page,
Would be great to have this! I just added a munin cputime plugin. To
keep things simple you could just link to
http://honk.sigxcpu.org/projects/libvirt/#munin
Cheers,
-- Guido

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

"Daniel P. Berrange" 10-21-2008 05:24 PM

libvirt munin plugins
 
On Tue, Oct 21, 2008 at 07:04:16PM +0200, Guido G?nther wrote:
> On Thu, Oct 16, 2008 at 06:34:59PM +0200, Daniel Veillard wrote:
> > On Thu, Oct 16, 2008 at 04:41:22PM +0100, Daniel P. Berrange wrote:
> > > On Thu, Oct 16, 2008 at 05:38:57PM +0200, Guido G?nther wrote:
> > > > Hi,
> > > > just in case somebody monitors VMs with munin[1]. I've put to simple
> > > > plugins for net and block I/O monitoring here:
> > > > http://honk.sigxcpu.org/projects/libvirt/monitor/
> > >
> > > Nice idea ! Rich Jones did a similar thing for collectd, and Nagios.
> > >
> > > We should link to all 3 of these plugins from the libvirt applications
> > > page on the website http://libvirt.org/apps.html
> >
> > Makes sense ! Attached patch adds the 3 plugins in a new section of
> > the application page,
> Would be great to have this! I just added a munin cputime plugin. To
> keep things simple you could just link to
> http://honk.sigxcpu.org/projects/libvirt/#munin

Is the conversion of cpuTime to a percentage value really doing what
you want here ?

The 'cpuTime' field is cummulative since the domain was first started,
so the % utilization you're calcuating is the % of the host that was
utilized over the entire time the domain was running. I would have
thought the % you really want is the utilization between the two
invocations of the 'libvirt-cputime' script. eg if you have munin
running that script once every 10 seconds, you'd want the % to be
calculated based on that 10 second window, rather than the lifetime
of the VM

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 :|

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Daniel Veillard 10-22-2008 01:34 PM

libvirt munin plugins
 
On Tue, Oct 21, 2008 at 07:04:16PM +0200, Guido GŁnther wrote:
> On Thu, Oct 16, 2008 at 06:34:59PM +0200, Daniel Veillard wrote:
> > On Thu, Oct 16, 2008 at 04:41:22PM +0100, Daniel P. Berrange wrote:
> > > On Thu, Oct 16, 2008 at 05:38:57PM +0200, Guido G?nther wrote:
> > > > Hi,
> > > > just in case somebody monitors VMs with munin[1]. I've put to simple
> > > > plugins for net and block I/O monitoring here:
> > > > http://honk.sigxcpu.org/projects/libvirt/monitor/
> > >
> > > Nice idea ! Rich Jones did a similar thing for collectd, and Nagios.
> > >
> > > We should link to all 3 of these plugins from the libvirt applications
> > > page on the website http://libvirt.org/apps.html
> >
> > Makes sense ! Attached patch adds the 3 plugins in a new section of
> > the application page,
> Would be great to have this! I just added a munin cputime plugin. To
> keep things simple you could just link to
> http://honk.sigxcpu.org/projects/libvirt/#munin

Okay I will update the page soon with a new link and slightly
different description.

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/

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Guido GŁnther 10-22-2008 08:26 PM

libvirt munin plugins
 
On Tue, Oct 21, 2008 at 06:24:28PM +0100, Daniel P. Berrange wrote:
> Is the conversion of cpuTime to a percentage value really doing what
> you want here ?
It does since we have "cputime.type DERIVE" in the config:
http://munin.projects.linpro.no/wiki/fieldname.type
So rrdtool will do (val(now)-val(backthen)/interval) for us.
Cheers,
-- Guido

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


All times are GMT. The time now is 11:46 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.