[collectd] problem with libvirt/collectd.

Israel Garcia igalvarez at gmail.com
Mon Dec 21 17:48:22 CET 2009


On 12/20/09, Israel Garcia <igalvarez at gmail.com> wrote:
> On 12/20/09, Alan Pevec <apevec at gmail.com> wrote:
>> 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?
> Hi alan,
> yes, it's running .. I guess
> dom0:~# ps axf|grep libvir
> 29170 pts/0    S+     0:00          \_ grep libvir
> 20097 ?        S      0:00 /usr/sbin/libvirtd -d
>
> dom0:/etc/init.d# virsh -c xen:/// list
> Id Name                 State
> ----------------------------------
>   0 Domain-0             running
>   2 vpsXXX.domain idle
>
> I can see disk graphs, but I can not see interfase  graph...... and
> cpu grah ins really odd..:(
Hi everybody.. I'm having problems configuring collectd/libvirt in my
dom0. Could any of you put your libvirt entries used (if any) in the
collectd.conf?
Do I  have to configure something in livbirt.conf?
Do I need libvirt-bin daemon UP?
Where can I find info about setup collectd using libvirt(on a xen dom0) plugin?

thanks for your time.
regards
Israel.

>
> regards,
> Israel.
>
>>
>> Do I need to change something on xend-config.sxp file?
>>> What's wrong here?
>>>
>>> regards,
>>> Israel.
>>>
>>
>
>
> --
> Regards;
> Israel Garcia
>


-- 
Regards;
Israel Garcia



More information about the collectd mailing list