Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Munin::Master::Config(User Contributed Perl DocumentatMunin::Master::Config(3)

NAME
       Munin::Master::Config - Holds the master	configuration.

METHODS
       instance
	     my	$config	= Munin::Master::Config->instance;

	   Returns the (possibly newly created)	singleton configuration
	   instance.

       set_value
	     $config->set_value($longkey, $value);

	   Set a value in the config, where $longkey is	the full ;:. separated
	   value.

       parse_config
	     $config->parse_config($io);

	   Populates the fields	of $config from	the configuration file
	   referred to by filehandle $io.

       look_up
	     my	$value = $config->look_up($key);

	   Look	up a group/host	by a key such as "localdomain;localhost" etc.
	   If the path does not	exist create it	with correct class and so on.

	   Lookup ends at host name.  If something is missing along the	way
	   undef is returned.

       get_groups_and_hosts
	     my	$gah = $config->get_groups_and_hosts();

	   Returns all the groups and hosts defined in the configuration.

       get_all_hosts
	     my	$hosts = $config->get_all_hosts();

	   Returns a list of all the hosts defined in the configuration.

       set
	     $config->set(\%attrs);

	   Sets	the keys and values in $config to those	in %attrs.

perl v5.32.0			  2020-08-31	      Munin::Master::Config(3)

NAME | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Munin::Master::Config&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help