Debian Codegraph @

check_hpasm/src/plugins-scripts/HP/Proliant/Component/AsrSubsystem/CLI.pm

raw
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;