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: new takes a named arg (spooldir), fetch takes a positional $timestamp, and list takes 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