1Munin::Node::SpoolWriteUrs(e3rpmC)ontributed Perl DocumeMnutnaitni:o:nNode::SpoolWriter(3pm)
2
3
4

NAME

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

SYNOPSIS

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

METHODS

13       new(%args)
14           Constructor.  'spooldir' key should be the directory
15           Munin::Node::SpoolReader is reading from.
16
17       write($timestamp, $service, \@results)
18           Takes a timestamp, service name, and the results of running config
19           and fetch on it.  Writes it to the spool directory for
20           Munin::Node::SpoolReader to read.
21
22       cleanup($timestamp)
23           Removes any items in the spool directory older than $timestamp.
24
25
26
27perl v5.38.0                      2023-11-06     Munin::Node::SpoolWriter(3pm)
Impressum