Munin:...:Group(3pm)
β¨ NAME β¨
okay bestie, welcome to Munin:...:Group(3pm) π This is the User Contributed Perl Documentation page for Munin::Master::Group β it holds information on host groups. And yes, groups can be nested. Group-ception is canon πβ¨
π οΈ METHODS π οΈ
πΈ new πΈ
my $group = Munin::Master::Group->new($name, $parent);
Constructor energy β¨ $name is the name of the group. The signature also shows $parent, so keep that exact, bestie π
π add_attributes π
$group->add_attributes(\%attrs);
Sets attributes %attrs for the group. The valid attributes are:
node_orderβ overrides the order of the hosts within the group. Little host lineup glow-up π«local_addressβ the local address the update process should bind to when contacting the nodes in this group. Bind responsibly π«Άcontactsβ the contacts for this group. Seehttp://munin-monitoring.org/wiki/HowToContact.
β οΈ An exception will be thrown if invalid attributes are provided. So no mystery attributes, okay? π
(Full details here: http://munin-monitoring.org/wiki/munin.conf#Groupleveldirectives.)
π¦ add_host π¦
$group->add_host($host);
Adds host $host to the group. Welcome to the group chat, $host π
π 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.) So the sub-group girlies keep their own vibe β no cap π
π 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. Everyone gets counted, periodt π
mwah π this page is from perl v5.42.0, dated 2026-09-14, and it's the Munin:...:Group(3pm) manual page. Slay. β¨
π¦ where this page comes from
- opensuse-leap 16.0: munin 2.0.76+git14.68213d60-bp160.1.1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms