Munin::...er::Host(3)

πŸ“¦ version 2.0.78, in nixos 26.05, nixpkgs unstable

🌸 NAME 🌸

Okay bestie, welcome to the Munin::...er::Host(3) page from the User Contributed Perl Documentation. The module is Munin::Master::Host, and it holds information on hosts we’re interested in collecting data from. πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

⚠️ NOTE, bestie: a host and a node are not the same thing. Do not conflate them, I’m begging. Some hosts may report services for several nodes β€” for example if they have SNMP plugins installed. That’s the whole point, and this distinction is highkey important. πŸ’€

✨ METHODS ✨

Let’s go method by method, no skipping, periodt. Vibe check: passed. πŸ’…

πŸŽ€ new πŸŽ€

my $host = Munin::Master::Host->new($hostname, $group, \%attrs);

Constructor, the main character energy. $group is the "Munin::Master::Group" object this host belongs to. Valid attributes include "port", "update", and c<use_node_name>. Slay. πŸ’…

πŸ¦‹ get_full_path πŸ¦‹

Returns the full nested named path of the host object (eg. "group1;group2;hostname"). That’s it. Iconic. Obsessed. ✨

πŸ“ add_attributes_if_not_exists πŸ“

$host->add_attributes_if_not_exists(\%attrs);

Merges the new attributes from %attrs into the host object, without overwriting any existing ones. It’s giving careful merge, fr fr. 🫢

🌈 get_canned_ds_config 🌈

The source literally says: FIX. That’s the whole description, bestie. No cap. πŸ’€


🫢 Cute lil sign-off: this page was brought to you by perl v5.42.3, dated 1980-01-01, and the manual name is Munin::...er::Host(3). Bye bestie! πŸ’–

πŸ“¦ where this page comes from