[libvirt] [RFC] Publishing utilisation on mDNS

Stefan de Konink skinkie at xs4all.nl
Wed May 14 21:13:40 UTC 2008


On Wed, 14 May 2008, Daniel P. Berrange wrote:

> > I might even go further and publish all resource statistics over mDNS.
> > Maybe people have ideas about this too, securitywise i'm not really
> > interested in the implications since I'm publishing it on a management
> > LAN.
>
> This is already a solved problem - any resource monitoring system can
> publish this kind of information. Rich Jones has already written libvirt
> plugins for both collectd and nagios to publish VM information, and so
> there's no need to re-invent this in libvirtd itself, nor abuse Avahi/mDNS
> service discovery for this purpose
>
>   http://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_libvirt
>   http://et.redhat.com/~rjones/nagios-virt/

I'm currently implementing resource balancing between hosts. So one way or
the other I want to receive or pull from the active hosts in the network
their active states. And migrate host from heavy used machines to unused
ones. Also, bias new started VMs to an unused machine.

I see the collectd plugin takes the opposite approach which need to
specify information while this is unknown for my statistics management.
What I made is currently an avahi-based-libvirt-statistics-fetcher. And I
presume the best situtation would be if it was an
avahi-based-libvirt-statistics-receiver.


If I'm reinventing the wheel because ovirt does this already or something
like it... please tell me.


Stefan




More information about the libvir-list mailing list