Munin::Node::Configure::PluginList(3pm)

Munin::Node::Configure::PluginList3pm

Loading and listing a collection of plugins

Usage

  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
  }

Subroutines

new(%args)

Constructor.

Required arguments are 'libdir' and 'servicedir', which are the plugin library and service directory, respectively.

load(@families)

Finds all the plugins in 'libdir' that are in any of @families, and any instances of these plugins in 'servicedir'.

list()

Returns a list of Munin::Node::Configure::Plugin objects currently loaded, sorted alphabetically by name.

names()

Returns the names of the currently-loaded plugins.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 8 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. Arch

From munin-node 2.0.76-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.