NAME

Collectd::Plugins::Common - Common functions to be used by plugins

SYNOPSIS

package Collectd::Plugins::Mine;
use Collectd qw/:all/;
use Collectd::Plugins::Common qw/recurse_config/;

FUNCTIONS

None are exported by default.

recurse_config

Args: $config

Traverses config hash as returned by the collectd-perl plugin recursively. This will return a nested data structure, similarly to Config::General.

AUTHOR

Fabien Wernli, <wernli at in2p3.fr>

BUGS

Please report any bugs or feature requests to bug-collectd-plugins-ge at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Collectd-Plugins-Common. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Collectd::Plugins::Common

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2012 Fabien Wernli.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.