On Wed, May 14, 2008 at 10:32:45PM +0200, Stefan de Konink wrote:
After playing around with Avahi, I have now a server that is able to
query
all hosts on the network and their VMs, I think it would be interesting to
publish utilisation statistics in the Txt record of the service.
[snip]
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_l...
http://et.redhat.com/~rjones/nagios-virt/
Regards,
Daniel.
--
|: Red Hat, Engineering, Boston -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 :|