[collectd] problem with libvirt/collectd.

Alan Pevec apevec at gmail.com
Sun Dec 20 21:42:00 CET 2009


On Fri, Dec 18, 2009 at 11:18 PM, Israel Garcia <igalvarez at gmail.com> wrote:

> Hi,
>
> I'm running collectd 4.7.4 ona dom0 running debian. This is my
> collectd.conf:
> LoadPlugin libvirt
>
> <Plugin "libvirt">
>  Connection "xen:///"
>  RefreshInterval 60
>  Domain "dom0"
>  BlockDevice "name:device"
>  InterfaceDevice "name:interface"
>  IgnoreSelected true
>  HostnameFormat "name"
> </Plugin>
> I'm getting this error on syslog:
> Dec 18 17:01:49 dom0 collectd[18904]: libvirt plugin: Unable to
> connect: virConnectOpenReadOnly failed.
> Dec 18 17:01:49 dom0 collectd[18904]: read-function of plugin
> `libvirt' failed. Will suspend it for 240 seconds.
>
> Is libvirtd running? Does virsh list work from shell?

Do I need to change something on xend-config.sxp file?
> What's wrong here?
>
> regards,
> Israel.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20091220/7b180c55/attachment.htm 


More information about the collectd mailing list