logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Munin::Node::SpoolWriter - Writing side of the spool functionality

Methods

new(%args)
           Constructor.  'spooldir' key should be the directory Munin::Node::SpoolReader is reading from.

       write($timestamp,$service,\@results)
           Takes a timestamp, service name, and the results of running config and fetch on it.  Writes it to the
           spool directory for Munin::Node::SpoolReader to read.

       cleanup($timestamp)
           Removes any items in the spool directory older than $timestamp.

perl v5.40.1                                       2025-05-20                      Munin::Node::SpoolWriter(3pm)

Name

       Munin::Node::SpoolWriter - Writing side of the spool functionality

Synopsis

         my $spool = Munin::Node::SpoolWriter->new(spooldir => $spooldir);
         $spool->write(1234567890, 'cpu', \@results);

See Also