Munin::Node::Configure::PluginList(3pm) | User Contributed Perl Documentation | Munin::Node::Configure::PluginList(3pm) |
Munin::Node::Configure::PluginList - Loading and listing a collection of plugins
my $plugins = Munin::Node::Configure::PluginList->new( libdir => '/usr/share/munin/plugins/', servicedir => '/etc/munin/plugins/', ); $plugins->load('auto'); foreach my $plugin ($plugins->list) { # do something to each 'auto' plugin in turn }
Required arguments are 'libdir' and 'servicedir', which are the plugin library and service directory, respectively.
2023-03-21 | perl v5.36.0 |