[collectd] [PATCH] Add 'HostnameFormat' option to libvirtstats module

Richard W.M. Jones rjones at redhat.com
Tue Nov 6 19:01:39 CET 2007


This is something I missed out of the previous patch: I want a way to 
log guests using their UUID instead of their name (more useful for us 
because of the migration and other issues outlined before).

This adds:

   <Plugin libvirtstats>
     HostnameFormat "uuid"
   </Plugin>

to let us do that.  You can do other things as well such as:

   HostnameFormat "name uuid"

to get "foo:1234-1234-1234-1234" as the hostname.

Rich.

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-HostnameFormat-option-to-libvirtstats.patch
Type: text/x-patch
Size: 12957 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20071106/b62fb6dd/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20071106/b62fb6dd/attachment-0003.bin 


More information about the collectd mailing list