Munin::...::Group(3)
π NAME π
Okay so welcome to the Munin::...::Group(3) page, bestie β it's a User Contributed Perl Documentation moment β¨. The actual name situation is Munin::Master::Group β Holds information on host groups.
And yes, the iconic detail: Groups can be nested. πͺπ
π METHODS π
π£ new
my $group = Munin::Master::Group->new($name, $parent);
Constructor vibes. $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. π Keep it valid, bestie.
(Full details here: <http://munin-monitoring.org/wiki/munin.conf#Groupleveldirectives>.)
πΈ add_host
$group->add_host($host);
Adds host $host to the group. Slay. π
π¦ give_attributes_to_hosts
$group->give_attributes_to_hosts();
Propagates the attributes of $group to all hosts in the group. Heads up though: 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. Iconic completionist energy, fr fr. β¨
Catch you later, bestie β this page was running with perl v5.42.3 and dated 1980-01-01 πππ«Ά
π¦ where this page comes from
- nixos 26.05: munin 2.0.76
- nixpkgs unstable: munin 2.0.78
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms