Scroll to navigation

Munin::Node::Configure::History(3pm) User Contributed Perl Documentation Munin::Node::Configure::History(3pm)

NAME

Munin::Node::Configure::History - Filtering plugins based on the version of Munin they were first distributed with.

SYNOPSIS

  my $plugin = Munin::Node::Configure::History->new(
      newer        => '1.3.3',
      history_file => 'plugins/plugins.history',
  );

METHODS

Constructor.

The 'history_file' argument is required, and should be the path to the plugin history file. The 'newer' argument is optional, and should be the version of the release before which plugins should be ignored.

Loads the plugin history from history_file. Dies if 'newer' didn't match a valid release, or the file wasn't readable.
Takes a Munin::Node::Configure::Plugin object. Returns false unless the plugin should be ignored, true otherwise (ie. if 'newer' wasn't set, the plugin is user-contributed, etc).
2024-11-29 perl v5.40.0