author | Richard Jones <rjones@redhat.com> | |
Tue, 6 Nov 2007 18:46:29 +0000 (19:46 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 6 Nov 2007 18:46:29 +0000 (19:46 +0100) | ||
commit | a2323a2c71d25f60a8ffe73b5dc7bf04fca51a7c | |
tree | c462ee8ba2833db7336f5b99c70a0a9d5eec172b | tree | snapshot |
parent | fd64cb0b732f4d248e6187c78eef184fbb2143b0 | commit | diff |
libvirtstats plugin: Add the `HostnameFormat' option.
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.
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.
src/collectd.conf.pod | diff | blob | history | |
src/libvirtstats.c | diff | blob | history |