<div dir="ltr">Hi,<div><br></div><div>I am in the process of writing a perl plugin and am curious about the interaction with the collectd config file, and how the data gets to my plugin. </div><div><br></div><div>Furthermore I wonder how multiple plugin instances are handled.</div><div><br></div><div>This specific plugin I am writing is supposed to run several instances in parallel (or sequential, i dont care, it will be quick). I envision the config file to have several subsections for each plugin instance, like this:</div><div><br></div><div><div>        <Plugin perl></div><div>           IncludeDir "/path/to/perl/plugins"</div><div>           BaseName "Collectd::Plugins"</div><div>           EnableDebugger ""</div><div>           LoadPlugin "FooBar"</div><div><br></div><div>           <Plugin FooBar></div><div>             Foo "Bar"</div><div>           </Plugin></div><div><br></div><div><div>           <Plugin FooBar></div><div>             Foo "Bab"</div><div>           </Plugin></div></div><div><br></div><div>         </Plugin></div><div><br></div></div><div><br></div><div>Each subsection of the configuration of my plugin should cause one FooBar plugin to be invoked with the specific Foo value going to their own instance each. </div><div><br></div><div>Does this actually work like this?</div><div><br></div><div><br></div></div>