libvirt pmda: support old libvirt 0.10 API
commite07519096796d9c1a5eb6eaa89394c363e3fdce3
authorMarko Myllynen <myllynen@redhat.com>
Fri, 15 Jul 2016 00:07:49 +0000 (15 10:07 +1000)
committerNathan Scott <nathans@redhat.com>
Fri, 15 Jul 2016 00:07:49 +0000 (15 10:07 +1000)
treed472d13b02db57eac563b9c35e6df824071d7227
parent13cf235c5a79263173aad56ff0f1136826caa504
libvirt pmda: support old libvirt 0.10 API

Add support for additional metrics available using the old and
clumsy API.

The code certainly is not pretty but I can't see how it could be
radically cleaner. The good thing is that it's well-contained and
doesn't interfere with the code using the newer API.

This is mostly for RHEL 6 / libvirt-0.10 environments but since now
configurable, can be enabled anywhere where the newer API is not
an option for some reason.
src/pmdas/libvirt/libvirt.conf
src/pmdas/libvirt/pmdalibvirt.1
src/pmdas/libvirt/pmdalibvirt.python