[collectd] perl -mCollectd --error--> Bareword "LOG_ERR" not allowed while "strict subs" in use at Collectd.pm line 164.

Fabien Wernli collectd at faxm0dem.org
Mon Nov 28 17:01:23 CET 2011


On Tue, Oct 25, 2011 at 12:58:21PM -0700, Brian Shore wrote:
> I don't see any response to this post (April 21, 2011).  I'm getting
> the same result under CentOS 5, perl 5.8.8, Collectd 5.0.1.  I don't
> see any changes in the git log for Collectd.pm that would seem
> toeffect this in any prior release.  Is anyone using the perl plugin?
> Did you patch the collectd perl modules?

Collectd.pm can only be used by perl plugin, as it defines some
variables (see perl.c). For testing purposes, may I suggest running your
plugin using 'collectd -f' and in debugging mode.

More information about the collectd mailing list