~ubuntu-branches/ubuntu/trusty/nagios-plugins-contrib/trusty-proposed

« back to all changes in this revision

Viewing changes to check_hpasm/check_hpasm-4.6.3/plugins-scripts/HP/Proliant/Component/AsrSubsystem/CLI.pm

  • Committer: Package Import Robot
  • Author(s): Bernd Zeimetz
  • Date: 2013-05-21 22:11:50 UTC
  • mfrom: (5.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130521221150-k5bda5v5euvt7wg9
Tags: 6.20130521
* [e68c82e1] check_raid: do not run hpacucli if cciss_vol_status is available.
* [4a1c57e8] Also support tw-cli as additional name for the 3ware binary.
  Thanks to Dennis Hoppe
* [eb5e1c7c] Add /run/ to the check_libs ignore file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package HP::Proliant::Component::AsrSubsystem::CLI;
 
2
our @ISA = qw(HP::Proliant::Component::AsrSubsystem);
 
3
 
 
4
use strict;
 
5
use constant { OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 };
 
6
 
 
7
sub new {
 
8
  my $class = shift;
 
9
  my %params = @_;
 
10
  my $self = {
 
11
    runtime => $params{runtime},
 
12
    rawdata => $params{rawdata},
 
13
    blacklisted => 0,
 
14
    info => undef,
 
15
    extendedinfo => undef,
 
16
  };
 
17
  bless $self, $class;
 
18
  $self->init(%params);
 
19
  return $self;
 
20
}
 
21
 
 
22
sub init {
 
23
  my $self = shift;
 
24
  my %params = @_;
 
25
}
 
26
 
 
27
sub overall_check {
 
28
  my $self = shift;
 
29
  my %params = @_;
 
30
}
 
31
 
 
32
1;