1Munin::Node::Config(3pmU)ser Contributed Perl DocumentatiMounnin::Node::Config(3pm)
2
3
4
6 Munin::Node::Config - Singleton node configuration container. Reads
7 configuration files.
8
10 $config = Munin::Node::Config->instance();
11 $config->parse_config_from_file('/etc/munin/munin-node.conf');
12 print $config->{fqdn}, "\n";
13
15 instance
16 $config = Munin::Node::Config->instance();
17
18 Returns the singleton instance of this class.
19
20 reinitialize
21 $config->reinitialize();
22
23 Deletes all configuration variables
24
25 $config->reinitialize(\%variables);
26
27 Deletes all configuration variables and reinitializes the object
28 with values from \%variables.
29
30 parse_config_from_file
31 $config->parse_config_from_file($filename);
32
33 Parses the munin node configuration from a file. Dies if the file
34 fails the paranoia checks.
35
36 parse_config
37 $config->parse_config($io_handle);
38
39 Parses the munin node configuration from a filehandle.
40
41 process_plugin_configuration_files
42 $config->process_plugin_configuration_files();
43
44 Parses all unignored files in the plugin configuration folder.
45
46 parse_plugin_config_file
47 $config->parse_plugin_config_file($file);
48
49 Parses the plugin configuration in $file.
50
51 parse_plugin_config
52 $config->parse_plugin_config($io_handle);
53
54 Parses the plugin configuration from an IO::Handle.
55
56 apply_wildcards
57 $config->apply_wildcards();
58
59 Applies the contents of any wildcard plugin configuration sections
60 to matching plugins.
61
62 See <http://munin-monitoring.org/wiki/Priority_and_inheritance>
63
64
65
66perl v5.38.0 2023-11-06 Munin::Node::Config(3pm)