[collectd] Welcome to the "collectd" mailing list

Mahendra Kutare mahendra.kutare at gmail.com
Tue Jul 28 19:57:14 CEST 2009


On Tue, Jul 28, 2009 at 12:30 PM, Mahendra Kutare <mahendra.kutare at gmail.com
> wrote:

> Hi,
>
> On Tue, Jul 28, 2009 at 5:43 AM, Sebastian Harl <sh at tokkee.org> wrote:
>
>> Hi Mahendra,
>>
>> On Mon, Jul 27, 2009 at 11:18:26PM -0400, Mahendra Kutare wrote:
>> > I have collectd version 4.5.3 installed on Xen platform.
>>
>> Which Linux distribution do you use (does ".el5" in the Kernel uname
>> suggest RHEL5?)? Where did you get collectd from? Did you install a
>> pre-compiled package or did you compile it yourself? In the later case,
>> please provide the file "config.log" created during the build.
>>
>
> I have RHEL5 and Xen  3.1.2 installed. This is installed through RHEL RPMS
> using puppet.
> For installation of collectd I just did yum install collectd. So its the
> same as above.
>
>>
>> > 1. I enabled the Plugin section for libvirt but I don't see any entry
>> for
>> > libvirt in LoadPlugin section in default /etc/collectd.conf file. So I
>> added
>> > the entry myself and try starting the collectd with command and get this
>> -
>> >
>> > [root at samoa1 ~ 10:39 PM]$ /etc/init.d/collectd start
>> > Starting collectd: Could not find plugin libvirt.
>> > [2009-07-27 22:39:38] Found a configuration for the `libvirt' plugin,
>> but
>> > the plugin isn't loaded or didn't register a configuration callback.
>> > [2009-07-27 22:39:38] Found a configuration for the `libvirt' plugin,
>> but
>> > the plugin isn't loaded or didn't register a configuration callback.
>> >                                                            [  OK  ]
>> >
>> > Next I see the plugin directory specified at /etc/collectd.conf is
>> located
>> > at - *PluginDir   "/usr/lib64/collectd"*
>> >
>> > But libvirt.so.x file is not available there. I also see libvirt.so.x
>> file
>> > in /usr/lib/ directory. So do I have to copy or create soft links to
>> that
>> > file from plugin dir ?
>>
>> libvirt.so.x is the libvirt library which is used by the "libvirt"
>> plugin (which might be confusing and, in fact, even confuses the build
>> system under certain conditions - we might want to think about renaming
>> the plugin in version 5). The plugin binary is called "libvirt.so"
>> without any version appended to it. If you cannot find that file in
>> PluginDir, most likely the plugin is not available - I need answers to
>> the questions above to provide more information about that.
>
>
> So I see libvirt.so is not present in /usr/lib64/collectd and even
> attempting to copy them from somewhere like /usr/lib64 to
> /usr/lib64/collectd i.e. PluginDir does not work as it says -
> MODULE_REGISTER is not defined so I understand collectd expects some funcs
> which are OBVIOUSLY not there in default.
>
> Another point is - since everything is installed with RPMS I am not sure if
> COLLECTD expect source files for libvirt which to change/add funcs as the
> way it requires e.g. MODULE_REGISTER func for libvirt in libvirt.so in
> PLUGIN_DIR ?
>
>
>>
>>
>> > 2. I see there is a plugin for gmond - which essentially recieves data
>> from
>> > ganglia gmonds but Is there a way to send collectd data to ganglia gmond
>> ?
>>
>> Nope, that is not (yet?) possible. Patches are welcome! ;-)
>>
>
> Well as part of my work, I will have to get this working, So once am done
> with my experiments I can contribute the patch.
>
>>
>>
FYI my machine has libvirt located at -

[root at samoa1 ~ 01:54 PM]$ ls -l /usr/lib64/ | grep libvir
lrwxrwxrwx  1 root root       16 Jun  1 17:57 libvirt.so.0 ->
libvirt.so.0.3.3
-rwxr-xr-x  1 root root   367992 Feb 18 10:03 libvirt.so.0.3.3


>
> Thanks
> Mahendra
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20090728/e4cafbf9/attachment.htm 


More information about the collectd mailing list