Munin:...Reader(3pm)
β¨ Munin:...Reader(3pm) β¨
okay bestie so this is the Munin:...Reader page from the User Contributed Perl Documentation section of the manual β third section, 3pm, perl module energy π
. Buckle up, it's short and it's iconic.
πΈ NAME πΈ
Munin::Node::SpoolReader β the reading side of the spool functionality π«Ά
like. the spool writes. this one reads. they're a duo. it's giving complementary colours.
π¦ SYNOPSIS π¦
my $spool = Munin::Node::SpoolReader->new(spooldir => $spooldir);
print $spool->fetch(1234567890);
that's the whole vibe. make one, then fetch from it. two lines. slay β¨
π METHODS π
new($args)
Constructor, periodt π. Pass in spooldir and it should be the directory that Munin::Node::SpoolWriter is writing to β yes, the matching one, they have to be pointed at the same place or nothing makes sense, iykyk π.
fetch($timestamp)
Fetches all the plugin results that have been recorded since $timestamp, in a form suitable to be sent straight over the wire π.
so it's like. "give me everything since this moment." and what you get back is already wire-ready, no extra packaging needed. lowkey obsessed.
list()
Lists all the plugin that have been recorded in the spool, in a form suitable to be sent straight over the wire π.
note the no arguments β it just tells you everything that's in there. no timestamp, no filter, the whole menu π.
π tiny heads-up bestie:newtakes a named arg (spooldir),fetchtakes a positional$timestamp, andlisttakes nothing at all. don't mix 'em up or the vibe check fails.
and that's the page!! written for perl v5.42.3 and dated 2026-09-30, and it lives in the manual as Munin:...Reader(3pm). go read the spool, main character π«Άβ¨π
π¦ where this page comes from
- fedora 43: munin-node 2.0.78-1.fc43 Β· GPL-2.0-only
- fedora 44: munin-node 2.0.78-1.fc44 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms