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::GROUP (3)

.ds Aq ’

NAME

Munin::Master::Group - Holds information on host groups.

Groups can be nested.

CONTENTS

METHODS

new


  my $group = Munin::Master::Group->new($name, $parent);



Constructor. $name is the name of the group.

add_attributes


  $group->add_attributes(\%attrs);



Sets attributes %attrs for the group. Valid attributes are:
node_order Override the order of the hosts within the group.
local_address The local address the update process should bind to when contacting the nodes in this group.
contacts The contacts for this group. See <http://munin-monitoring.org/wiki/HowToContact>.

An exception will be thrown if invalid attributes are provided.

(Full details here: <http://munin-monitoring.org/wiki/munin.conf#Groupleveldirectives>.)

add_host


  $group->add_host($host);



Adds host $host to the group.

give_attributes_to_hosts


  $group->give_attributes_to_hosts();



Propagates the attributes of $group to all hosts in the group. (This does not apply to hosts belonging to sub-groups.)

get_all_hosts


  my @hosts = $group->get_all_hosts();



Returns the list of all hosts associated with this group, including those belonging to any sub-groups.

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


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

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