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