GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MUNIN::MASTER::CONFIG (3)

.ds Aq ’

NAME

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

CONTENTS

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MUNIN::MASTER::CONFIG (3) 2016-04-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.