[prev in list] [next in list] [prev in thread] [next in thread] 

List:       collectd
Subject:    [collectd] homemade plugin not working after upgrade to 5.12.0
From:       Andreas Schuldei <andreas () schuldei ! org>
Date:       2021-11-07 15:48:05
Message-ID: CAEyJ1OLRMtaZ3if_fhHaTEOcgCL13yedVHPmJgBH2Rp68xqgzg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi!

I wrote some collectd perl plugins back in 2015, and updated plugin and
collectd several times since. (i run debian stable, so there were only a
few updates.)

Recently I upgraded to debian 11-1 (bullseye) and to its collectd 5.12.0.
Since then, one of my plugin stopped working. It gets initialized, but I
dont see it`s read method being called. The last sign of life is see is
my_config() finishing.

Did something change in the way collectd calls my_read()? Do i need to add
some config option so it would start polling the plugin? (the other plugin
i wrote back then works fine, btw.)

can i see somehow if the plugin_register() calls all registered properly?
Can i see if collectd has my_read() and actually tries to call it?

Kind regards,

Andreas

[Attachment #5 (text/html)]

<div dir="ltr"><div>Hi!</div><div><br></div><div>I wrote some collectd perl plugins \
back in 2015, and updated plugin and collectd several times since. (i run debian \
stable, so there were only a few updates.)</div><div><br></div><div>Recently I \
upgraded to debian 11-1 (bullseye) and to its collectd 5.12.0. Since then, one of my \
plugin stopped working. It gets initialized, but I dont see it`s read method being \
called. The last sign of life is see is my_config() finishing. \
<br></div><div><br></div><div>Did something change in the way collectd calls \
my_read()? Do i need to add some config option so it would start polling the plugin? \
(the other plugin i wrote back then works fine, btw.)<br><br></div><div>can i see \
somehow if the plugin_register() calls all registered properly? Can i see if collectd \
has my_read() and actually tries to call it?</div><div><br></div><div>Kind \
regards,</div><div><br></div><div>Andreas<br></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
collectd mailing list
collectd@verplant.org
https://mailman.verplant.org/listinfo/collectd

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic