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. See http://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