Re: libvirt munin plugins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux