retitle 585975 collectd: please make error messages more descriptive if a plugin fails to load severity 585975 wishlist thanks
Hi, On Tue, Jun 15, 2010 at 09:42:17PM +0200, Martin Steigerwald wrote: > Am Dienstag 15 Juni 2010 schrieb Sebastian Harl: > > On Tue, Jun 15, 2010 at 12:01:23PM +0200, Martin Steigerwald wrote: > > > collectd does not load notify_email plugin although it is there: > > > > > > shambhala:~> /etc/init.d/collectd start > > > Starting statistics collection and monitoring daemon: > > > collectdlt_dlopen (/usr/lib/collectd/notify_email.so) failed: file > > > not found Unable to load plugin notify_email. > > > > Do you have libesmtp5 installed? See /usr/share/doc/collectd-core/ > > README.Debian.plugins for details. > > No, I didn't. I usually do install recommends on an as needed basis. > > Installed it and collectd now loads the plugin. A clear case of RTFM then. I already thought about including a pointer to the required packages in the error message. That should not be very hard to implement but requires the "collectd" binary to be built after building all plugins which is not currently possible using the upstream build system. > > Unfortunately, the error message provided by (lt_)dlopen() is not very > > descriptive in case of missing plugin dependencies. I'll see if that > > can be improved somehow. > > Shall we close the bug report or retitle it as something like "make the > error message when notify_email can not be started more descriptive"? > Well maybe its better when I open a upstream bug report about this and we > close this one. What do you think? I'm not closing the bug, as I prefer the Debian BTS to keep track of things. Also, I'll look into this and provide a patch upstream. Cheers, Sebastian -- Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/ Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
signature.asc
Description: Digital signature