[Bug 861154] New: Collectd existing config faulty, missing essential source
https://bugzilla.novell.com/show_bug.cgi?id=861154 https://bugzilla.novell.com/show_bug.cgi?id=861154#c0 Summary: Collectd existing config faulty, missing essential source Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: tonysu@su-networking.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 The following details are based on an x64 system. File locations would probably be different if running on a different architecture. Some background is required: Collectd requires compilation on the machine being monitored. This is because during compilation, the ./configure script inspects library files in the appropriate library location for that distro and when it finds a match (files it recognizes), 1. The Plugin using those libraries is created in /usr/lib64/collectd 2. A Runtime configuration file is created (/etc/collectd.conf) that is custom modified to enable management of the Plugin The above is important because 1. For the default config file to be accurate (it is not), the existing machine needs to have the same apps and libraries as the system on which the package was built. 2. If the capabilities of collectd needs to be changed (eg add or remove plugins) you need to first install the app or feature to be monitored, <then> re-compile collectd Problems with the existing Package 1. The default config file lists numerous plugins which are available but disabled which is false because only an incomplete number of plugins exist in the plugin directory which does not match the config file. 2. There doesn't appear to be any source included in the existing collectd package which would permit modifying, and fixing existing the existing collectd issues. Additional problem: The default, original ./configure in source downloaded from collectd does not work on openSUSE, my guess is that it's looking for libraries in the wrong location. I might have a look at that, it's also the key to how the collectd package for openSUSE was created. Package recommendations: 1. For the base collectd package, immediately after "make all install" the following should be packaged up and installed to the target machine /opt/collectd/sbin/collectd collectdmon /etc/collectd.conf /usr/lib64/collectd/* 2. Either as part of the package or in a separate package (collectd-devel) the source is required with the magical file that makes it work on openSUSE (configure) This is a critical need to be able to extend collectd and by the way also fix any imperfections that might exist in the origianl build. Short of doing something along what I've described, if the Maintainer can simply post the "configure" script file he used to build on openSUSE, that might be enough for anyone to download source from collectd and proceed. Reproducible: Always Steps to Reproduce: 1. Install collectd 2. That's it. After that you can't do much. You modify the existing collectd.conf at your own risk and it's impossible to change capabilities Actual Results: An example is the redis plugin. In /etc/collectd.conf, it's marked as available but disabled. Enabling (removing the hash) results in an error about library not found and indeed, is missing from the plugins directory. Installed package Repository: Main Repository (OSS) Name: collectd Version: 5.4.0-2.1.3 Arch: x86_64 Vendor: openSUSE Installed: Yes Status: up-to-date Installed Size: 2.2 MiB Although I've recommended a "Major" severity, I would consider this issue nearly "Severe" in that the existing issues prevent almost any use of it all. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=861154
https://bugzilla.novell.com/show_bug.cgi?id=861154#c
Xiyuan Liu
participants (1)
-
bugzilla_noreply@novell.com