[collectd] register_plugin for a "personalized" read callback
andreas at schuldei.org
Sun May 21 12:43:19 CEST 2017
the problem was much simpler: it needed to be \$config_href, not
$config_href, because the $ needed to be escaped.
On Sun, May 21, 2017 at 8:02 AM Pavel V. <pavel2000 at ngs.ru> wrote:
> Hi, Andreas.
> > I am simplifying my perl plugin code (a lot). Of course i still run
> > different instances of the code, still, because i monitor several
> > The somewhat magic code for creating a unique read callback stopped
> > This is the current code, that give me the error
> > Collectd::Plugins::OneWireCtlr::my_read_192_168_178_117 error: Undefined
> > subroutine &Collectd::Plugins::OneWireCtlr::HASH called at (eval 16)
> line 1.
> I think that can happen due to missing locking while use of shared
> variable from
> multiple threads in my_read() . Is it that case is possible?
> Pavel mailto:pavel2000 at ngs.ru
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the collectd