[collectd] problem with libvirt/collectd.

Israel Garcia igalvarez at gmail.com
Sun Dec 20 23:52:58 CET 2009


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..:(

regards,
Israel.

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


-- 
Regards;
Israel Garcia



More information about the collectd mailing list