NAME

Device::RAID::Poller::Backends::ZFS - ZFS zpool backend.

VERSION

Version 0.0.1

SYNOPSIS

use Device::RAID::Poller::Backends::ZFS;

my $backend = Device::RAID::Poller::Backends::ZFS;

my $usable=$backend->usable;
my %return_hash;
if ( $usable ){
    %return_hash=$backend->run;
}

METHODS

new

Initiates the backend object.

my $backend = Device::RAID::Poller::Backends::FBSD_gmirror;

run

Runs the poller backend and report the results.

If nothing is nothing is loaded, load will be called.

my $usable=$backend->usable;

usable

Returns a perl boolean for if it is usable or not.

my $usable=$backend->usable;
if ( ! $usable ){
    print "This backend is not usable.\n";
}

AUTHOR

Zane C. Bowers-Hadley, <vvelox at vvelox.net>

BUGS

Please report any bugs or feature requests to bug-device-raid-poller at rt.cpan.org, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Device-RAID-Poller. 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 Device::RAID::Poller

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

This software is Copyright (c) 2019 by Zane C. Bowers-Hadley.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)