<div dir="ltr">found it: the plugin name in the config file needs to be lower case.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Feb 22, 2017 at 5:31 PM Andreas Schuldei <<a href="mailto:andreas@schuldei.org">andreas@schuldei.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi,<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I am writing a perl module for collecting data.</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">These are my plugin registration calls:</div><div class="gmail_msg">=====</div><div class="gmail_msg"><div class="gmail_msg">plugin_register(TYPE_READ, $plugin_name, 'my_read');</div><div class="gmail_msg">plugin_register(TYPE_CONFIG, $plugin_name, 'my_config');</div><div class="gmail_msg">plugin_register(TYPE_INIT, $plugin_name, 'my_init');</div></div><div class="gmail_msg">=====</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">When starting collectd I get in the logfile:</div><div class="gmail_msg"><div class="gmail_msg">===========</div><div class="gmail_msg">Feb 22 16:52:42 lazarus collectd[28359]: perl: Found a configuration for the "OneWireCtlr" plugin, but the plugin isn't loaded or didn't register a configuration callback.<br class="gmail_msg"></div></div><div class="gmail_msg">===========</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">I added some debug output to my_read, my_config and my_init, and surely, the my_config function is never called - the other two are. </div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">the configuration in collectd.conf looks like this:</div><div class="gmail_msg">=====</div><div class="gmail_msg"><div class="gmail_msg">[... some more ...]</div><div class="gmail_msg"><Plugin perl></div><div class="gmail_msg">           BaseName "Collectd::Plugins"</div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">       </span>   LoadPlugin "OneWireCtlr"</div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">      </span>   <Plugin OneWireCtlr></div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">      </span>      host "WIZ107SR-51908C.fritz.box"</div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">         </span><0F00000561159F28></div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">    </span>      <span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">      </span>   type "temperature"</div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">            </span>   name "Sicherungskasten"</div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">       </span>        </0F00000561159F28></div><div class="gmail_msg"> <span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">             </span><F50000000F93691D_1></div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">                  </span>type "counter"</div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">                    </span>name "Stromzähler Familie"</div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">               </span></F50000000F93691D_1></div><div class="gmail_msg"> <span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">               </span><F50000000F93691D_2></div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">                  </span>type "counter"</div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">                    </span>name "Stromzähler Single"</div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">                </span></F50000000F93691D_2></div><div class="gmail_msg"><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap"> </span>   </Plugin><span class="m_-7980799595732000402Apple-tab-span gmail_msg" style="white-space:pre-wrap">    </span>   </div><div class="gmail_msg"></Plugin></div></div><div class="gmail_msg">=====</div><div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">what can I do to make this work?</div></div></blockquote></div>