Munin::Node::SpoolWriter(3pm)

Munin::Node::SpoolWriter3pm

Writing side of the spool functionality

Usage

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

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.

Releases

8 releases since Debian 7 (Wheezy); the text changed 7 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13
  8. Arch

From munin-node 2.0.76-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.