Device::RAID::Poller::Backends::Avago_tw_cli - Handles polling using the Avago tw_cli utility.
Version 0.0.1
use Device::RAID::Poller::Backends::Avago_tw_cli; my $backend = Device::RAID::Poller::Backends::Avago_tw_cli->new; my $usable=$backend->usable; my %return_hash; if ( $usable ){ %return_hash=$backend->run; my %status=$backend->run; use Data::Dumper; print Dumper( \%status ); }
Initiates the backend object.
my $backend = Device::RAID::Poller::Backends::Avago_tw_cli->new;
Runs the poller backend and report the results.
If nothing is nothing is loaded, load will be called.
my %status=$backend->run; use Data::Dumper; print Dumper( \%status );
Returns a perl boolean for if it is usable or not.
my $usable=$backend->usable; if ( ! $usable ){ print "This backend is not usable.\n"; }
Zane C. Bowers-Hadley, <vvelox at vvelox.net>
<vvelox at vvelox.net>
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.
bug-device-raid-poller at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Device::RAID::Poller
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Device-RAID-Poller
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Device-RAID-Poller
CPAN Ratings
https://cpanratings.perl.org/d/Device-RAID-Poller
Search CPAN
https://metacpan.org/release/Device-RAID-Poller
This software is Copyright (c) 2019 by Zane C. Bowers-Hadley.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Device::RAID::Poller, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::RAID::Poller
CPAN shell
perl -MCPAN -e shell install Device::RAID::Poller
For more information on module installation, please visit the detailed CPAN module installation guide.