Munin:...:Config(3pm)
π NAME π
Munin::Node::Config β the singleton node configuration container bestie, she reads configuration files. periodt. β¨
π¦ SYNOPSIS π¦
$config = Munin::Node::Config->instance();
$config->parse_config_from_file('/etc/munin/munin-node.conf');
print $config->{fqdn}, "\n";
Like, that's it. That's the whole vibe. One config object, she reads the file, you print the fqdn. π
πΈ METHODS πΈ
instance
$config = Munin::Node::Config->instance();
Returns the singleton instance of this class. There is exactly one of her. She is that girl. No copies, no dupes, main character energy only. π
reinitialize
$config->reinitialize();
Deletes all configuration variables. Gone. Poof. π«Ά
$config->reinitialize(\%variables);
Deletes all configuration variables and reinitializes the object with values from \%variables. So she wipes the slate and then gets a whole new wardrobe from your hashref. Slay. β¨
parse_config_from_file
$config->parse_config_from_file($filename);
Parses the munin node configuration from a file. Dies if the file fails the paranoia checks. π Not a vibe check she passes lightly β the paranoia checks are serious and if you fail them it's over fr fr.
parse_config
$config->parse_config($io_handle);
Parses the munin node configuration from a filehandle. Same energy, different input source. π
process_plugin_configuration_files
$config->process_plugin_configuration_files();
Parses all unignored files in the plugin configuration folder. She's going through the whole folder and she's not skipping anyone who didn't explicitly get ignored. π
parse_plugin_config_file
$config->parse_plugin_config_file($file);
Parses the plugin configuration in $file. Just the one file. Targeted. Focused. Iconic. π¦
parse_plugin_config
$config->parse_plugin_config($io_handle);
Parses the plugin configuration from an IO::Handle. Filehandle girlies, this one's for you. π
apply_wildcards
$config->apply_wildcards();
Applies the contents of any wildcard plugin configuration sections to matching plugins. It's giving inheritance but make it β¨wildcardβ¨.
See <http://munin-monitoring.org/wiki/Priority_and_inheritance> β iykyk, go read it, it explains the priority and inheritance tea. π
okay bestie that's the whole page π this was Perl v5.42.3, dated 2026-09-30, from the User Contributed Perl Documentation for Munin:...:Config(3pm). Go forth and configure. π§π
π¦ where this page comes from
- fedora 43: munin-node 2.0.78-1.fc43 Β· GPL-2.0-only
- fedora 44: munin-node 2.0.78-1.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms