[Pkg-libvirt-discuss] Munin plugins / libvirt
Guido Günther
agx at sigxcpu.org
Sun Mar 14 09:25:29 UTC 2010
On Sun, Mar 14, 2010 at 10:09:32AM +0100, Kees Meijs wrote:
> Good morning Guido,
>
> Thank you very much for developing Munin plugins for libvirt. The
> plugins seem to work very good, except when using Xen/libvirt
> instead of e.g. KVM/libvirt.
>
> Currently, the plugins assume this:
> >uri = os.getenv("uri", "qemu:///system")
>
> Just changing it to:
> >uri = os.getenv("uri", "xen:///")
>
> Helps the plugins to work with Xen.
>
> Maybe it's possible to do some auto-detection, or implement a
> settable option?
See the os.getenv call. I have:
# cat /etc/munin/plugin-conf.d/libvirt
[libvirt-*]
env.uri xen:///
Cheers,
-- Guido
More information about the Pkg-libvirt-discuss
mailing list