Munin::...ginList(3)
π NAME π
hey bestie, welcome to the Munin::...ginList(3) page β yes, thatβs the title, and itβs straight out of User Contributed Perl Documentation β¨. this whole page is about Munin::Node::Configure::PluginList, aka loading and listing a collection of plugins. itβs literally the plugin roster manager, and itβs iconic.
π¦ SYNOPSIS π¦
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, periodt. the required arguments are'libdir'and'servicedir', which are the plugin library and service directory, respectively. both are required, no cap π«Ά.load(@families)β finds all the plugins in'libdir'that are in any of@families, and any instances of these plugins in'servicedir'. so itβs doing the plugin scavenger hunt in both places, slay π .list()β returns a list ofMunin::Node::Configure::Pluginobjects currently loaded, sorted alphabetically by name. organized queen behavior, honestly π.names()β returns the names of the currently-loaded plugins. just the names, lowkey simple and useful πΈ.
okay bye bestie π«Ά this page is from perl v5.42.3, dated 1980-01-01, and it ate. mwah π
π¦ where this page comes from
- nixos 26.05: munin 2.0.76
- nixpkgs unstable: munin 2.0.78
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms