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

FreeBSD Manual Pages

  
 
  

home | help
Munin::Master::Group(3User Contributed Perl DocumentatiMunin::Master::Group(3)

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

       Groups can be nested.

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.

perl v5.24.1			  2017-07-08	       Munin::Master::Group(3)

NAME | METHODS

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

home | help