1Munin::Node::Config(3)User Contributed Perl DocumentationMunin::Node::Config(3)
2
3
4

NAME

6       Munin::Node::Config - Singleton node configuration container. Reads
7       configuration files.
8

SYNOPSIS

10        $config = Munin::Node::Config->instance();
11        $config->parse_config_from_file('/etc/munin/munin-node.conf');
12        print $config->{fqdn}, "\n";
13

METHODS

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 reinitalizes the object
28           with values from \%variables.
29
30       parse_config
31            $config->parse_config($io_handle);
32
33           Parses the munin node configuration from a IO::Handle.
34
35       process_plugin_configuration_files
36            $config->process_plugin_configuration_files();
37
38           Parses all unignored files in the plugin configuration folder.
39
40       parse_plugin_config_file
41            $config->parse_plugin_config_file($file);
42
43           Parses the plugin configuration in $file.
44
45       parse_plugin_config
46            $config->parse_plugin_config($io_handle);
47
48           Parses the plugin configuration from an IO::Handle.
49
50       apply_wildcards
51            $config->apply_wildcards();
52
53           Applies the contents of any wildcard plugin configuration sections
54           to matching plugins.
55
56           See <http://munin.projects.linpro.no/wiki/Priority_and_inheritance>
57
58
59
60perl v5.12.2                      2010-12-05            Munin::Node::Config(3)
Impressum