IBM::StorageSystem::Health - Class for operations with a IBM StorageSystem logical health stati
Version 0.01
use IBM::StorageSystem; my $ibm = IBM::StorageSystem->new( user => 'admin', host => 'my-v7000', key_path => '/path/to/my/.ssh/private_key' ) or die "Couldn't create object! $!\n"; # Simple one-liner to print the sensor status and value for any error conditions. map { print join ' -> ', ( $_->sensor, $_->value."\n" ) } grep { $_->status =~ /ERROR/ } $ibm->get_healths; # e.g. # CLUSTER -> Alert found in component cluster # MDISK -> Alert found in component mdisk # NODE -> Alert found in component node
Returns the host to which the health status applies - this may either be an individual storage, mangement, interface or multi-role node, or may be a cluster level status.
Returns the system or component sensor to which the health status applies.
Returns the health sensor status (e.g. OK, ERROR, etc.).
Returns the health sensor status description.
Luke Poskitt, <ltp at cpan.org>
<ltp at cpan.org>
Please report any bugs or feature requests to bug-ibm-v7000-health at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IBM-StorageSystem-Health. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-ibm-v7000-health at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc IBM::StorageSystem::Health
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=IBM-StorageSystem-Health
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/IBM-StorageSystem-Health
CPAN Ratings
http://cpanratings.perl.org/d/IBM-StorageSystem-Health
Search CPAN
http://search.cpan.org/dist/IBM-StorageSystem-Health/
Copyright 2013 Luke Poskitt.
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.
To install IBM::StorageSystem, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IBM::StorageSystem
CPAN shell
perl -MCPAN -e shell install IBM::StorageSystem
For more information on module installation, please visit the detailed CPAN module installation guide.